
#13518: CMM compiles with 8.0.2, fails with git HEAD -------------------------------------+------------------------------------- Reporter: erikd | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple error/warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Assuming that this is on a 64-bit machine it seems to me that the Cmm lint error here is absolutely correct. You are assigning a 64-bit value to a 32-bit register. You would need to use one of the narrowing operations to do this correctly. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13518#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler