Ticket #2156: test.optimized.output

File test.optimized.output, 8.5 KB (added by trevorm, 7 years ago)

Ouput of ghc -v with optimizations on

Line 
1trevor@tmlinux:~/haskell$ ghc -v -dcore-lint -O2 --make test
2Glasgow Haskell Compiler, Version 6.8.2, for Haskell 98, stage 2 booted by GHC version 6.6.1
3Using package config file: /usr/lib/ghc-6.8.2/package.conf
4wired-in package base mapped to base-3.0.1.0
5wired-in package rts mapped to rts-1.0
6wired-in package haskell98 mapped to haskell98-1.0.1.0
7wired-in package template-haskell mapped to template-haskell-2.2.0.0
8wired-in package ndp not found.
9Hsc static flags: -static
10*** Chasing dependencies:
11Chasing modules from: test.hs
12Stable obj: []
13Stable BCO: []
14Ready for upsweep
15  [NONREC
16      ModSummary {
17         ms_hs_date = Fri Mar 14 17:57:56 IST 2008
18         ms_mod = main:Main,
19         ms_imps = [IO]
20         ms_srcimps = []
21      }]
22compile: input file test.hs
23Created temporary directory: /tmp/ghc18482_0
24*** Checking old interface for main:Main:
25[1 of 1] Compiling Main             ( test.hs, test.o )
26*** Parser:
27*** Renamer/typechecker:
28*** Desugar:
29    Result size = 75
30*** Core Linted result of Desugar:
31*** Simplify:
32    Result size = 41
33*** Core Linted result of Simplifier phase gentle, iteration 1 out of 4:
34    Result size = 41
35*** Core Linted result of Simplify phase gentle done:
36*** Specialise:
37    Result size = 41
38*** Core Linted result of Specialise:
39*** Float out (not lambdas, not constants):
40    Result size = 41
41*** Core Linted result of Float out (not lambdas, not constants):
42*** Float inwards:
43    Result size = 41
44*** Core Linted result of Float inwards:
45*** Simplify:
46    Result size = 52
47*** Core Linted result of Simplifier phase 2, iteration 1 out of 4:
48    Result size = 50
49*** Core Linted result of Simplifier phase 2, iteration 2 out of 4:
50    Result size = 50
51*** Core Linted result of Simplify phase 2 done:
52*** Simplify:
53    Result size = 50
54*** Core Linted result of Simplify phase 1 done:
55*** Simplify:
56    Result size = 50
57*** Core Linted result of Simplify phase 0 done:
58*** Demand analysis:
59    Result size = 50
60*** Core Linted result of Demand analysis:
61*** Worker Wrapper binds:
62    Result size = 50
63*** Core Linted result of Worker Wrapper binds:
64*** GlomBinds:
65*** Simplify:
66    Result size = 50
67*** Core Linted result of Simplify phase 0 done:
68*** Float out (not lambdas, constants):
69    Result size = 52
70*** Core Linted result of Float out (not lambdas, constants):
71*** Common sub-expression:
72    Result size = 52
73*** Core Linted result of Common sub-expression:
74*** Float inwards:
75    Result size = 52
76*** Core Linted result of Float inwards:
77*** Liberate case:
78    Result size = 52
79*** Core Linted result of Liberate case:
80*** Simplify:
81    Result size = 52
82*** Core Linted result of Simplify phase 0 done:
83*** SpecConstr:
84    Result size = 52
85*** Core Linted result of SpecConstr:
86*** Simplify:
87    Result size = 52
88*** Core Linted result of Simplify phase 0 done:
89*** Tidy Core:
90    Result size = 52
91*** Core Linted result of Tidy Core:
92writeBinIface: 20 Names
93writeBinIface: 40 dict entries
94*** CorePrep:
95    Result size = 63
96*** Core Linted result of CorePrep:
97*** Stg2Stg:
98*** CodeGen:
99*** CodeOutput:
100*** Assembler:
101gcc -I. -c /tmp/ghc18482_0/ghc18482_0.s -o test.o
102*** Deleting temp files:
103Deleting: /tmp/ghc18482_0/ghc18482_0.s
104Upsweep completely successful.
105*** Deleting temp files:
106Deleting:
107link: linkables are ...
108LinkableM (Fri Mar 14 18:01:57 IST 2008) main:Main
109   [DotO test.o]
110Linking test ...
111*** Linker:
112gcc -v -o test -DDONT_WANT_WIN32_DLL_SUPPORT test.o -L/usr/lib/ghc-6.8.2/lib/haskell98-1.0.1.0 -L/usr/lib/ghc-6.8.2/lib/array-0.1.0.0 -L/usr/lib/ghc-6.8.2/lib/process-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/unix-2.3.0.0 -L/usr/lib/ghc-6.8.2/lib/random-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/directory-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/filepath-1.1.0.0 -L/usr/lib/ghc-6.8.2/lib/old-time-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/old-locale-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/base-3.0.1.0 -L/usr/lib/ghc-6.8.2 -lHShaskell98-1.0.1.0 -lHSarray-0.1.0.0 -lHSprocess-1.0.0.0 -lHSunix-2.3.0.0 -lutil -ldl -lHSrandom-1.0.0.0 -lHSdirectory-1.0.0.0 -lHSfilepath-1.1.0.0 -lHSold-time-1.0.0.0 -lHSold-locale-1.0.0.0 -lHSbase-3.0.1.0 -lHSrts -lm -lgmp -ldl -lrt -u base_GHCziBase_Izh_static_info -u base_GHCziBase_Czh_static_info -u base_GHCziFloat_Fzh_static_info -u base_GHCziFloat_Dzh_static_info -u base_GHCziPtr_Ptr_static_info -u base_GHCziWord_Wzh_static_info -u base_GHCziInt_I8zh_static_info -u base_GHCziInt_I16zh_static_info -u base_GHCziInt_I32zh_static_info -u base_GHCziInt_I64zh_static_info -u base_GHCziWord_W8zh_static_info -u base_GHCziWord_W16zh_static_info -u base_GHCziWord_W32zh_static_info -u base_GHCziWord_W64zh_static_info -u base_GHCziStable_StablePtr_static_info -u base_GHCziBase_Izh_con_info -u base_GHCziBase_Czh_con_info -u base_GHCziFloat_Fzh_con_info -u base_GHCziFloat_Dzh_con_info -u base_GHCziPtr_Ptr_con_info -u base_GHCziPtr_FunPtr_con_info -u base_GHCziStable_StablePtr_con_info -u base_GHCziBase_False_closure -u base_GHCziBase_True_closure -u base_GHCziPack_unpackCString_closure -u base_GHCziIOBase_stackOverflow_closure -u base_GHCziIOBase_heapOverflow_closure -u base_GHCziIOBase_NonTermination_closure -u base_GHCziIOBase_BlockedOnDeadMVar_closure -u base_GHCziIOBase_BlockedIndefinitely_closure -u base_GHCziIOBase_Deadlock_closure -u base_GHCziIOBase_NestedAtomically_closure -u base_GHCziWeak_runFinalizzerBatch_closure -u base_GHCziConc_ensureIOManagerIsRunning_closure
113Using built-in specs.
114Target: i486-linux-gnu
115Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
116Thread model: posix
117gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
118 /usr/lib/gcc/i486-linux-gnu/4.2.3/collect2 --eh-frame-hdr -m elf_i386 --hash-style=both -dynamic-linker /lib/ld-linux.so.2 -o test -u base_GHCziBase_Izh_static_info -u base_GHCziBase_Czh_static_info -u base_GHCziFloat_Fzh_static_info -u base_GHCziFloat_Dzh_static_info -u base_GHCziPtr_Ptr_static_info -u base_GHCziWord_Wzh_static_info -u base_GHCziInt_I8zh_static_info -u base_GHCziInt_I16zh_static_info -u base_GHCziInt_I32zh_static_info -u base_GHCziInt_I64zh_static_info -u base_GHCziWord_W8zh_static_info -u base_GHCziWord_W16zh_static_info -u base_GHCziWord_W32zh_static_info -u base_GHCziWord_W64zh_static_info -u base_GHCziStable_StablePtr_static_info -u base_GHCziBase_Izh_con_info -u base_GHCziBase_Czh_con_info -u base_GHCziFloat_Fzh_con_info -u base_GHCziFloat_Dzh_con_info -u base_GHCziPtr_Ptr_con_info -u base_GHCziPtr_FunPtr_con_info -u base_GHCziStable_StablePtr_con_info -u base_GHCziBase_False_closure -u base_GHCziBase_True_closure -u base_GHCziPack_unpackCString_closure -u base_GHCziIOBase_stackOverflow_closure -u base_GHCziIOBase_heapOverflow_closure -u base_GHCziIOBase_NonTermination_closure -u base_GHCziIOBase_BlockedOnDeadMVar_closure -u base_GHCziIOBase_BlockedIndefinitely_closure -u base_GHCziIOBase_Deadlock_closure -u base_GHCziIOBase_NestedAtomically_closure -u base_GHCziWeak_runFinalizzerBatch_closure -u base_GHCziConc_ensureIOManagerIsRunning_closure /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.2.3/crtbegin.o -L/usr/lib/ghc-6.8.2/lib/haskell98-1.0.1.0 -L/usr/lib/ghc-6.8.2/lib/array-0.1.0.0 -L/usr/lib/ghc-6.8.2/lib/process-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/unix-2.3.0.0 -L/usr/lib/ghc-6.8.2/lib/random-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/directory-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/filepath-1.1.0.0 -L/usr/lib/ghc-6.8.2/lib/old-time-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/old-locale-1.0.0.0 -L/usr/lib/ghc-6.8.2/lib/base-3.0.1.0 -L/usr/lib/ghc-6.8.2 -L/usr/lib/gcc/i486-linux-gnu/4.2.3 -L/usr/lib/gcc/i486-linux-gnu/4.2.3 -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../.. test.o -lHShaskell98-1.0.1.0 -lHSarray-0.1.0.0 -lHSprocess-1.0.0.0 -lHSunix-2.3.0.0 -lutil -ldl -lHSrandom-1.0.0.0 -lHSdirectory-1.0.0.0 -lHSfilepath-1.1.0.0 -lHSold-time-1.0.0.0 -lHSold-locale-1.0.0.0 -lHSbase-3.0.1.0 -lHSrts -lm -lgmp -ldl -lrt -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-linux-gnu/4.2.3/crtend.o /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crtn.o
119link: done
120*** Deleting temp files:
121Deleting:
122*** Deleting temp dirs:
123Deleting: /tmp/ghc18482_0
124