#3840: ghc-6.12.1 takes longer to compile code and produces bigger binaries
compared to ghc-6.10.4
-------------------------+--------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.1
Keywords: | Difficulty:
Os: Linux | Testcase:
Architecture: x86 | Failure: None/Unknown
-------------------------+--------------------------------------------------
Comment(by maeder):
Interestingly, if I compile the two big files directly, they stay small.
It seems that compiling unrelated modules before increases .o files.
{{{
> ghc --make -DTIME_WITH_TYPEABLE HasCASL/ATC_HasCASL.hs
[ 1 of 34] Compiling Common.InjMap ( Common/InjMap.hs, Common/InjMap.o
)
...
[34 of 34] Compiling HasCASL.ATC_HasCASL ( HasCASL/ATC_HasCASL.hs,
HasCASL/ATC_HasCASL.o )
> ls -sh HasCASL/ATC_HasCASL.o
732K HasCASL/ATC_HasCASL.o
> ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3840#comment:7>
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