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

GHC ghc-devs at haskell.org
Tue Aug 5 04:22:36 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 rwbarton):

 How odd. I can't reproduce on GHC 7.8.3 x86-64 on Debian.

 Note that the output of the optimized program is `normalized (Vec3 0 5
 1)`, so it looks like some of the x/y/z-coordinates are getting mixed up
 somehow.

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


More information about the ghc-tickets mailing list