Skip to content

Near doubling of generated code size for compiler/cmm/PprC.hs with commit 5d57087e

As noted in #7830 (closed)##10878, changes to compiler/utils/Pretty.hs in commit 5d57087e results in a near doubling of the generated code size of compiler/cmm/PprC.hs` on x86_64/linux. On powerpc/linux this code growth caused this file to fail to build.

At @rwbarton's suggestion, I added NOINLINE pragmas to above_ and beside_ of compiler/utils/Pretty.hs\ and that brought the generated code size down to be just a little more than 30% bigger than it was before commit 5d57087e.

Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC thomie
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information