Re: [GHC] #4241: Optimization causes HUnit to behave incorrectly
#4241: Optimization causes HUnit to behave incorrectly --+- Reporter: beej175560 | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.0.1 Component: Compiler |Version: 6.12.1 Resolution: fixed| Keywords: Testcase: | Blockedby: 3983 Difficulty: | Os: MacOS X Blocking: | Architecture: x86 Failure: Incorrect result at runtime | --+- Changes (by igloo): * status: new = closed * resolution: = fixed Comment: The patch wasn't in 6.12.3. Please re-open if you think there's still a problem with the 7.0.1 release candidates. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4241#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4241: Optimization causes HUnit to behave incorrectly
#4241: Optimization causes HUnit to behave incorrectly --+- Reporter: beej175560 | Owner: Type: bug | Status: new Priority: high | Milestone: 7.0.1 Component: Compiler |Version: 6.12.1 Resolution: | Keywords: Testcase: | Blockedby: 3983 Difficulty: | Os: MacOS X Blocking: | Architecture: x86 Failure: Incorrect result at runtime | --+- Changes (by beej175560): * status: closed = new * resolution: fixed = Comment: It looks like I goofed when I tested the fix. The bug is still there, same as before. I have tested on multiple machines and get identical incorrect results. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4241#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4241: Optimization causes HUnit to behave incorrectly
#4241: Optimization causes HUnit to behave incorrectly --+- Reporter: beej175560 | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.0.1 Component: Compiler |Version: 6.12.1 Resolution: fixed| Keywords: Testcase: | Blockedby: 3983 Difficulty: | Os: MacOS X Blocking: | Architecture: x86 Failure: Incorrect result at runtime | --+- Changes (by beej175560): * status: infoneeded = closed * resolution: = fixed Comment: I confirm this is fixed in 6.12.3. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4241#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4241: Optimization causes HUnit to behave incorrectly
#4241: Optimization causes HUnit to behave incorrectly --+- Reporter: beej175560 | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.0.1 Component: Compiler |Version: 6.12.1 Resolution: fixed| Keywords: Testcase: | Blockedby: 3983 Difficulty: | Os: MacOS X Blocking: | Architecture: x86 Failure: Incorrect result at runtime | --+- Comment(by simonpj): Thanks for the original report, and for testing the fix. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4241#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4241: Optimization causes HUnit to behave incorrectly
#4241: Optimization causes HUnit to behave incorrectly ---+ Reporter: beej175560 |Owner: Type: bug | Status: infoneeded Priority: high|Milestone: 6.14.1 Component: Compiler| Version: 6.12.1 Keywords: | Testcase: Blockedby: 3983| Difficulty: Os: MacOS X | Blocking: Architecture: x86 | Failure: Incorrect result at runtime ---+ Changes (by simonpj): * status: new = infoneeded Comment: I believe this is fixed by the fix to #3959. Could you try it out? Thanks Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4241#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #4241: Optimization causes HUnit to behave incorrectly
#4241: Optimization causes HUnit to behave incorrectly ---+ Reporter: beej175560 | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 6.12.1 |Keywords: Testcase: | Blockedby: Os: MacOS X |Blocking: Architecture: x86 | Failure: Incorrect result at runtime ---+ When I build the following program with ghc -O2 --make ..., the unit test passes. I expect the test to fail because 1 does not equal 2. Compiling without optimization results in correct behavior. I'm not sure if this is a compiler bug but I'm filing it as such because of the dependence on optimization. I'm running ghc on Mac OS 10.6.3 installed from the downloaded file haskell-platform-2010.1.0.1-i386.dmg. The ghc version is 6.12.1. import Test.HUnit tests = test [ test [1 ~?= 2] ] main = runTestTT tests -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4241 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs