#955: more object-code blow-up in ghc-6.8.3 vs. ghc-6.4.2 (both with
optimization)
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: run-time performance bug | Status: reopened
Priority: high | Milestone: 6.10.1
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution:
Keywords: object-code blow-up | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Multiple |
--------------------------------------+-------------------------------------
Comment (by maeder):
using atc.2.tgz the object code size for ghc-6.9.20080910-x86_64-unknown-
linux is as follows:
{{{
16K ATC2.hi
16K ATC2.hs
324K ATC2.o
8,0K ATC3.hi
4,0K ATC3.hs
8,0K ATC3.o
248K ATC.hi
88K ATC.hs
1,2M ATC.o
}}}
compared with our x64 ghc-6.8.3 installation (only consider ATC2.o!) that
is a significant improvement.
{{{
16K ATC2.hi
16K ATC2.hs
9,2M ATC2.o
12M ATC3
12K ATC3.hi
4,0K ATC3.hs
8,0K ATC3.o
504K ATC.hi
88K ATC.hs
2,2M ATC.o
}}}
Linking with ghc-6.9.20080910 did not work (and I also got more warnings)
{{{
...
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out. Size = 1248
...
[108 of 110] Compiling ATC ( ATC.hs, ATC.o )
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6yT} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6yT} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6yT} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6yT} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v s6zB} [lid] 0 0 [L, S, L]
[109 of 110] Compiling ATC2 ( ATC2.hs, ATC2.o )
ATC2.hs:13:15:
Warning: Imported from `HsName' but not used:
data constructor `UnQual'
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6J6} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6J6} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6Ja} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6Ja} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6Ko} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6Ko} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6Kd} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6Kd} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6L1} [lid] 0 0 [L, S, L]
WARNING: file simplCore/SimplUtils.lhs line 386
More demands than arity a9{v X6L1} [lid] 0 0 [L, S, L]
[110 of 110] Compiling Main ( ATC3.hs, ATC3.o )
ATC3.hs:2:0:
Warning: Module `ATC2' is imported, but nothing from it is used,
except perhaps instances visible in `ATC2'
To suppress this warning, use: import ATC2()
Linking ATC3 ...
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-
linux/bin/ld: cannot find -lffi
collect2: ld returned 1 exit status
make: *** [all] Fehler 1
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/955#comment:17>
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