#4849: object code size fairly large for ghc-7.0.1 with optimization
-------------------------------------------+--------------------------------
Reporter: maeder | Owner: igloo
Type: bug | Status: closed
Priority: normal | Milestone: 7.4.1
Component: Compiler | Version: 7.0.1
Resolution: wontfix | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Compile-time performance bug |
-------------------------------------------+--------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => wontfix
Comment:
`Parsec.hs` + `IsaParse.hs` is a cutdown case.
I don't think there's anything actually wrong here, just changes in how
inlining works. For example, in recent compilers, the
{{{
{-# INLINE parsecPlus #-}
}}}
means that `<|>` gets inlined, which seems reasonable. You can make larger
object files in 6.12 by marking the wrappers as `INLINE`, and smaller
object files in more recent compilers by commenting out the `INLINE`
pragmas. parsec would probably be better off either not marking the
primitives `INLINE`, or by marking the wrappers `NOINLINE`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4849#comment:5>
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