#4321: Unexpected stack overflow prevented by superfluous type annotation
---------------------------+------------------------------------------------
Reporter: bjpop | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.13
Resolution: | Keywords:
Testcase: T4321 | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment(by daniel.is.fischer):
I'm on i686, linux (openSUSE 11.1).
ghc-6.12.3:
{{{
da...@linux-mkk1:~/Haskell/Hacking/liststuff/testsuite/tests/ghc-
regress/perf/should_run> ghc -O -fforce-recomp --make T4321
[1 of 1] Compiling Main ( T4321.hs, T4321.o )
Linking T4321 ...
da...@linux-mkk1:~/Haskell/Hacking/liststuff/testsuite/tests/ghc-
regress/perf/should_run> ./T4321
3.1415926535897634
}}}
Today's HEAD:
{{{
da...@linux-mkk1:~/Haskell/Hacking/liststuff/testsuite/tests/ghc-
regress/perf/should_run> ~/Haskell/Hacking/liststuff/inplace/bin/ghc-
stage2 --version
The Glorious Glasgow Haskell Compilation System, version 7.1.20101019
da...@linux-mkk1:~/Haskell/Hacking/liststuff/testsuite/tests/ghc-
regress/perf/should_run> ~/Haskell/Hacking/liststuff/inplace/bin/ghc-
stage2 -O --make T4321
[1 of 1] Compiling Main ( T4321.hs, T4321.o )
Linking T4321 ...
da...@linux-mkk1:~/Haskell/Hacking/liststuff/testsuite/tests/ghc-
regress/perf/should_run> ./T4321
3.1415926535897634
}}}
I get the same result with C, via C, with or without excess-precision...
Platform issue, then. Print it only with 14 places of precision?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4321#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs