
#9125: int-to-float conversion broken on ARM -------------------------------------+------------------------------------- Reporter: Ansible | Owner: Type: bug | Status: infoneeded Priority: highest | Milestone: 7.8.4 Component: Compiler | Version: 7.8.3 (CodeGen) | Keywords: Resolution: | Architecture: arm Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: Incorrect | Related Tickets: result at runtime | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by rwbarton): Replying to [comment:24 amurrayc]:
The patch didn't do anything (although I only applied it and re-`make && make install`-ed it. Should I have done a full `make clean && configure ...`?)
You don't need to rerun `configure`, but yeah you will need to rebuild the stage1 compiler so that it can rebuild the RTS correctly, and `make clean` is the easiest way.
However, LLVM 3.4 seems to work. It at least produces {{{ 29.0 }}} when fed {{{ main = print (29.0 :: Float) }}}
Well that's good to know, at least! I still think our TBAA information is wrong for this code, though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9125#comment:25 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler