#948: Incorrect Core transformations with cost centres
-----------------------+----------------------------------------------------
 Reporter:  simonmar   |          Owner:          
     Type:  bug        |         Status:  new     
 Priority:  normal     |      Milestone:  _|_     
Component:  Profiling  |        Version:  6.6     
 Severity:  normal     |     Resolution:          
 Keywords:             |     Difficulty:  Unknown 
 Testcase:             |   Architecture:  Multiple
       Os:  Multiple   |  
-----------------------+----------------------------------------------------
Comment (by igloo):

 Frederik Eaton in http://www.haskell.org/pipermail/glasgow-haskell-bugs
 /2007-January/008125.html says:

 {{{
 Here is a test case showing poor results with '+RTS -xc'. The program
 dies with error message:
 <Wrappers.unsingleton,Main.CAF>sparse-test: Wrappers.hs:218:4-9: Assertion
 failed

 Clearly, the 'stack trace' is incomplete, since Wrappers is not
 imported directly by the main module (so I think there should be a few
 intervening levels as well).

 Here are commands to reproduce:

 wget http://ofb.net/~frederik/ghc-xc-test.tar.gz
 tar -xzf ghc-xc-test.tar.gz
 cd sparse-work
 ./gen-ops && ./gen-foreignimports &&
 g++ -g sparse_lib.cpp -c -o sparse_lib.o &&
 ghc -prof -auto-all -fno-do-eta-reduction -fno-do-lambda-eta-expansion \
   -fno-case-merge -frules-off -fno-cse -fno-pre-inlining -fno-strictness \
   -fno-unbox-strict-fields --make sparse-test.hs sparse_lib.o -lm -lc
 -lstdc++
 ./sparse-test +RTS -xc

 I've included all the '-fno-*' stuff on the ghc command line because I
 thought it might help produce more information, but the problem occurs
 without it.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/948>
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

Reply via email to