[GHC] #10688: Incorrect program produced, different result with equivalent code

GHC ghc-devs at haskell.org
Sat Jul 25 20:22:28 UTC 2015


#10688: Incorrect program produced, different result with equivalent code
-------------------------------------+-------------------------------------
        Reporter:  Ideophage         |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  lowest            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Ideophage):

 Replying to [comment:1 ezyang]:
 > Is it possible to upload a (presumably large) program which reproduces
 the problem?  Even some code snippets would help; what's the stopping
 condition of `takeWhile`?  Can you reproduce with `-O0`? Can you try with
 7.10.2 or even the latest master version of GHC? Some description of what
 the code does would also be useful.

 Thanks for your reply. I checked the box for adding an attachment and I
 thought my ticket was not opened. I added the code. This is reproducible
 with `-O0`.

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


More information about the ghc-tickets mailing list