[GHC] #7684: cgrun071 segfaults

GHC ghc-devs at haskell.org
Sun Sep 8 23:08:59 CEST 2013


#7684: cgrun071 segfaults
----------------------------------+----------------------------------
        Reporter:  tibbe          |            Owner:
            Type:  bug            |           Status:  patch
        Priority:  normal         |        Milestone:  7.8.1
       Component:  Compiler       |          Version:  7.7
      Resolution:                 |         Keywords:
Operating System:  MacOS X        |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:  cgrun071       |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------

Comment (by simonmar):

 Well, one bug is that in `emitPopCntCall` we don't cast the argument to
 the correct width.  The `-dcmm-lint` should catch it, because the argument
 width isn't the same as the primop is expecting, but the Cmm linter
 doesn't check the arguments of prim calls (that's another bug).

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




More information about the ghc-tickets mailing list