[GHC] #10870: PPC.Ppr: Shift by 32 bits is not allowed.

GHC ghc-devs at haskell.org
Fri Sep 11 21:56:05 UTC 2015


#10870: PPC.Ppr: Shift by 32 bits is not allowed.
---------------------------------------+----------------------------------
        Reporter:  nomeata             |                   Owner:
            Type:  bug                 |                  Status:  new
        Priority:  normal              |               Milestone:
       Component:  Compiler (CodeGen)  |                 Version:  7.10.2
      Resolution:                      |                Keywords:
Operating System:  Unknown/Multiple    |            Architecture:  powerpc
 Type of failure:  None/Unknown        |               Test Case:
      Blocked By:                      |                Blocking:
 Related Tickets:                      |  Differential Revisions:
---------------------------------------+----------------------------------

Comment (by erikd):

 Maybe adding the panic was the wrong thing to do there. On 32 bit PowerPC,
 a right shift of 32 bits should just result in zero.

 However, the PowerPC codegen now supports 64 bit PowerPC, so we need to be
 careful.

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


More information about the ghc-tickets mailing list