[GHC] #7684: cgrun071 segfaults

GHC ghc-devs at haskell.org
Mon Sep 2 07:13:01 CEST 2013


#7684: cgrun071 segfaults
----------------------------------+----------------------------------
        Reporter:  tibbe          |            Owner:  leroux
            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:
----------------------------------+----------------------------------
Changes (by leroux):

 * cc: leroux@… (added)


Comment:

 Ignore the
 [http://ghc.haskell.org/trac/ghc/attachment/ticket/7684/0001-Fix-7684
 .-Mask-words-with-bit-size-for-the-fast-popu.patch patch] where it just
 masks the word that is being passed to the appropriate fast popCount
 functions. I figured that it'd be getting rid of the point of the test
 since it "defines" how the functions should behave.I'm now digging into
 how/what instructions are emitted by the popCount PrimOps.

 Also, it'd be nice if someone to clear up why this
 [https://github.com/ghc/testsuite/commit/14619423995f69a76061b5f84025188ca2fedd03
 patch] was needed.

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




More information about the ghc-tickets mailing list