[GHC] #12656: ghc floats out constant despite -fno-cse

GHC ghc-devs at haskell.org
Tue Oct 4 15:38:10 UTC 2016


#12656: ghc floats out constant despite -fno-cse
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bitonic):

 rwbarton: You're very right -- the fact that it "worked" compiling
 normally threw us in a loop. Thanks for clarifying!

 In light of this, I think we should warn people that `unsafeThaw` is way
 unsafer than the docs imply...

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


More information about the ghc-tickets mailing list