#2722: <<loop> when compiling with -O option with ghc-6.10.0.20081019
-----------------------------------------+----------------------------------
Reporter: uwe | Owner: simonpj
Type: bug | Status: infoneeded
Priority: normal | Milestone: 7.0.3
Component: libraries (other) | Version: 7.0.1
Resolution: | Keywords: arrows
Testcase: tyepcheck/should_run/T2722 | Blockedby:
Difficulty: Unknown | Os: Linux
Blocking: | Architecture: x86_64 (amd64)
Failure: Runtime crash |
-----------------------------------------+----------------------------------
Comment(by litoh):
{{{
$ ghc --make test.hs -o test -O2 -fno-enable-rewrite-rules -ddump-rule-
firings
Rule fired: Class op show
Rule fired: Class op arr
Rule fired: Class op first
Rule fired: concat
Rule fired: map
Rule fired: Class op arr
Rule fired: arrPrim/arrEPrim
Rule fired: unpack
Rule fired: Class op loop
$ ./test
> testloop: <<loop>>
}}}
If I understood "-fno-enable-rewrite-rules" correctly, it should turn off
rules. Thus the bug doesn't derive from rule rewriting?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2722#comment:19>
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