[GHC] #15225: `-fno-state-hack` produces incorrect results in nofib

GHC ghc-devs at haskell.org
Mon Jun 4 20:15:13 UTC 2018


#15225: `-fno-state-hack` produces incorrect results in nofib
-------------------------------------+-------------------------------------
        Reporter:  tdammers          |                Owner:  tdammers
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #7411             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by tdammers):

 Two more test runs:

 - GHC with state hack, libraries without state hack, nofib without state
 hack triggers problem
 - GHC with state hack, libraries without state hack, nofib with state hack
 does not trigger problem

 So apparently, in order to trigger the problem, both nofib and libraries
 must be compiled with `-fno-state-hack`.

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


More information about the ghc-tickets mailing list