[GHC] #11395: The via-C code generation backend is incompatible with gcc 5.3.1 on m68k (ELF)

GHC ghc-devs at haskell.org
Sun Jan 10 22:03:17 UTC 2016


#11395: The via-C code generation backend is incompatible with gcc 5.3.1 on m68k
(ELF)
--------------------------------------------+------------------------------
        Reporter:  mkarcher                 |                Owner:
            Type:  bug                      |               Status:  new
        Priority:  normal                   |            Milestone:
       Component:  Compiler                 |              Version:  7.10.2
      Resolution:                           |             Keywords:
Operating System:  Linux                    |         Architecture:  m68k
 Type of failure:  GHC doesn't work at all  |            Test Case:
      Blocked By:                           |             Blocking:
 Related Tickets:                           |  Differential Rev(s):
       Wiki Page:                           |
--------------------------------------------+------------------------------

Comment (by mkarcher):

 It seems gcc introduces a temporary double variable in the double/int
 mismatch on amd64, because the double-to-int conversion is a semantic
 conversion changing the representation. On the other hand, the void*-to-
 int conversion is reinterpreting the same value as a different type
 without the need of a conversion instruction (like cvttsd2si in the amd64
 case).

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


More information about the ghc-tickets mailing list