[GHC] #9407: Program produces different output when compiled with -O

GHC ghc-devs at haskell.org
Tue Aug 5 06:56:02 UTC 2014


#9407: Program produces different output when compiled with -O
-------------------------------------+-------------------------------------
              Reporter:  arotenberg  |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  Windows     |     Architecture:  x86_64 (amd64)
       Type of failure:  Incorrect   |       Difficulty:  Unknown
  result at runtime                  |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I can't reproduce the behaviour either, though I am not using precisely
 7.8.3.  Can other people reproduce?

 Can you compile both ways with `-dverbose-core2core -ddump-occur-anal
 -ddump-rule-rewrites -ddump-inlinings` and attach the results?

 Simon

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


More information about the ghc-tickets mailing list