
#11294: T9430 fails on ARM -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler (LLVM) | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: T9430 at runtime | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by bgamari: Old description:
The primops testcase for `timesWord2#` in `T9430` fails on ARM. {{{ cd ./primops/should_run && ./T9430 T9430.run.stdout 2> T9430.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout:
Stderr: T9430: Error for timesWord2# : Expected 1 and 0 but got 0 and 0 CallStack (from ImplicitParams): error, called at T9430.hs:55:22 in main:Main }}} It looks like this is probably an LLVM code generator bug although I have yet to confirm this.
New description: The primops testcase for `timesWord2#` in `T9430` fails on ARM. {{{ cd ./primops/should_run && ./T9430 T9430.run.stdout 2> T9430.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout: Stderr: T9430: Error for timesWord2# : Expected 1 and 0 but got 0 and 0 CallStack (from ImplicitParams): error, called at T9430.hs:55:22 in main:Main }}} It looks like this is probably an 32-bit LLVM code generator bug although I have yet to confirm this. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11294#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler