[GHC] #955: more object-code blow-up in ghc-6.6 vs. ghc-6.4.2 (both with optimization)

GHC trac at galois.com
Fri Oct 20 08:23:05 EDT 2006


#955: more object-code blow-up in ghc-6.6 vs. ghc-6.4.2 (both with optimization)
------------------------------+---------------------------------------------
    Reporter:  maeder at tzi.de  |       Owner:                     
        Type:  bug            |      Status:  new                
    Priority:  normal         |   Milestone:                     
   Component:  Compiler       |     Version:  6.6                
    Severity:  normal         |    Keywords:  object-code blow-up
  Difficulty:  Unknown        |    Testcase:                     
Architecture:  Multiple       |          Os:  Multiple           
------------------------------+---------------------------------------------
After upgrading from ghc-6.4.2 to ghc-6.6 our already large binary became
 noticeably larger.

 I'll include a test case based on the programatica sources and our ATerm
 library. It's only necessary to compile the two top-level files ATC.hs and
 ATC2.hs and the files in Common/ATerm with optimization. This produces
 large object files (under i386 linux) of the following sizes:

 using ghc-6.4.2:
 160K ATC2.o  721K ATC.o  (-O0)
 2,1M ATC2.o  1,7M ATC.o  (-O)

 using ghc-6.6:
 156K ATC2.o  729K ATC.o  (-O0)
 4,1M ATC2.o  1,8M ATC.o  (-O)

 After unpacking atc.tgz calling make should check out some programatica
 sources and compile everything with optimization up to ATC2.o.
 (programatica requires the convert.sh script for ghc-6.6)

 Christian

 P.S. I've check the old ticket
 http://hackage.haskell.org/trac/ghc/ticket/490
 (In that example the object code does no longer blow up.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/955>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list