#1500: NCG: shortcutBranch doesn't handle loops properly
---------------------------------+------------------------------------------
Reporter: Michael D. Adams | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10
Component: Compiler (NCG) | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Multiple | Testcase: cmm001
Architecture: x86 |
---------------------------------+------------------------------------------
Changes (by simonmar):
* milestone: 6.8 => 6.10
* summary: Infinite loop caused by Cmm => NCG: shortcutBranch doesn't
handle loops properly
Comment:
The `shortcutBranch` optimisation in the NCG doesn't cope with loops very
well. Fortunately this doesn't cause us any problems right now, because
it hardly ever gets presented with any loops (only RTS code). In 6.10 the
plan is to overhaul all this code anyway, so we'll fix this at the same
time.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1500>
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