#3016: Long compile times, large memory use with static data in 6.10
-----------------------------------------------+----------------------------
    Reporter:  dons                            |        Owner:  igloo           
        Type:  bug                             |       Status:  new             
    Priority:  normal                          |    Milestone:  6.12.1          
   Component:  Compiler                        |      Version:  6.10.1          
    Severity:  normal                          |   Resolution:                  
    Keywords:  static data                     |   Difficulty:  Unknown         
    Testcase:  simplCore/should_compile/T3016  |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple                |  
-----------------------------------------------+----------------------------
Comment (by awick):

 We're compiling via Cabal, with this set:

 {{{
     ghc-options: -O2 -Wall -fno-warn-orphans -funbox-strict-fields
 }}}

 I accidentally destroyed my HEAD installation, but based out of 6.10.1,
 cabal build -v2 reports these as the flags:

 {{{
 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen
 -Idist/build/autogen -Idist/build -optP-include
 -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build
 -stubdir dist/build -package QuickCheck-2.1.0.1 -package SHA-1.4.0
 -package array-0.2.0.0 -package base-4.0.0.0 -package binary-0.5.0.1
 -package bytestring-0.9.1.4 -package monadLib-3.5.2 -package
 parallel-1.1.0.0 -package pureMD5-0.2.4 -package random-1.0.0.1 -package
 readline-1.0.1.0 -package syb-0.1.0.0 -package time-1.1.2.2 -O -O2 -Wall
 -fno-warn-orphans -funbox-strict-fields -XCPP -XFlexibleContexts
 -XFlexibleInstances -XDeriveDataTypeable -XMultiParamTypeClasses
 }}}

 So I don't think it's going through gcc.

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