#4414: scc001 fails: one SCC entered 0 times; another not mentioned when
optimisation is on
---------------------------------+------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.0.2
Component: Profiling | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
With optimisation off, `g` is entered 0 times, and with optimisation on
`f` disappears from the profile:
{{{
--- ./scc001.stdout.normalised 2010-10-18 16:36:20.000000000 +0100
+++ ./scc001.run.stdout.normalised 2010-10-18 16:36:20.000000000
+0100
@@ -2,7 +2,10 @@
True
3
'a'
+No single-entry for g found in profile
+ g Main
246 0 0.0 0.2 0.0 0.2
Compiling with -O
True
3
'a'
+No single-entry for f found in profile
*** unexpected failure for scc001(normal)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4414>
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