Ticket #2561 (closed bug: fixed)
Using "ITstring !FastString" in Lexer.x goes wrong (internal error: stg_ap_v_ret)
| Reported by: | igloo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.12 branch |
| Component: | Compiler | Version: | 6.8.3 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
With this patch:
hunk ./compiler/parser/Lexer.x 535 +#if __GLASGOW_HASKELL__ >= 609 + | ITstring !FastString +#else hunk ./compiler/parser/Lexer.x 539 +#endif
something goes wrong. The first sign, when validating, is that timeout is broken:
timeout: internal error: stg_ap_v_ret
(GHC version 6.9.20080902 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
If you use the python timeout program instead then you find a few tests fail, e.g.:
testsuite/tests/ghc-regress/codeGen/should_run$ '/home/ian/ghc/darcs/st2/ghc/stage2-inplace/ghc' -fforce-recomp -dcore-lint -dcmm-lint -Dx86_64_unknown_linux -dno-debug-output -o cg052 cg052.hs -O -fasm -funbox-strict-fields
testsuite/tests/ghc-regress/codeGen/should_run$ ./cg052
ok
cg052: internal error: stg_ap_v_ret
(GHC version 6.9.20080902 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
zsh: abort ./cg052
I'm not sure what's going on, but it seems to be repeatable.
Change History
Note: See
TracTickets for help on using
tickets.
