[GHC] #8425: ghc-7.6.3: crossmodule inline leads to buggy code (-O2)

GHC ghc-devs
Thu Oct 10 19:42:07 UTC 2013


#8425: ghc-7.6.3: crossmodule inline leads to buggy code (-O2)
-------------------------------------+----------------------------------
        Reporter:  slyfox            |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash     |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+----------------------------------

Comment (by slyfox):

 inliner-bug-v2.tar.gz - a bit refined monoidal's variant with dropped
 strict field.
 Now it makes final binary fail in a very fun way (maybe adds some clue):

 {{{
 ./run_test.bash
 RUN good
 True
 RUN bad
 Main: Oops!  Entered absent arg ww_s3a6{v} [lid] ghc-
 prim:GHC.Types.Int{(w) tc 3J}
 TEST FAILED in bad
 }}}

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



More information about the ghc-tickets mailing list