[GHC] #9125: int-to-float conversion broken on ARM

GHC ghc-devs at haskell.org
Fri Aug 8 00:12:14 UTC 2014


#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 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
 ...`?)

 However, LLVM 3.4 seems to work.  It at least produces
 {{{
 29.0
 }}}
 when fed
 {{{
 main = print (29.0 :: Float)
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9125#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list