[GHC] #14619: Output value of program changes upon compiling with -O optimizations

GHC ghc-devs at haskell.org
Mon Jan 15 21:26:54 UTC 2018


#14619: Output value of program changes upon compiling with -O optimizations
-------------------------------------+-------------------------------------
        Reporter:  sheaf             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 {{{
 Tamar at Rage ~/ghc2> /r/ghc-8.2.2/bin/ghc.exe -O2 -fforce-recomp -fregs-
 graph Bug.hs -o Bug-reg.exe; ./Bug-reg.exe
 [1 of 1] Compiling Main             ( Bug.hs, Bug.o )
 Linking Bug-reg.exe ...
 Just ((575.5051025721682,1151.0102051443364,0.0),0.0)
 }}}

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


More information about the ghc-tickets mailing list