logo       

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

lang.haskell.glasgow.bugs

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

#955: more object-code blow-up in ghc-6.6 vs. ghc-6.4.2 (both with optimization)
------------------------------+---------------------------------------------
Reporter: maeder@xxxxxx | 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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise