Whole program optimization and functions-only-called-once.
Toon Moene
toon@moene.org
Sat Nov 21 18:09:00 GMT 2009
Vladimir Makarov wrote:
> The worst what I saw a few years ago. One customer system generated
> functions with 100K blocks and >1M pseudos. But fortunately they
> started to split the code into several functions.
Very good point. Note that I did the reverse: I ordered the compiler to
inline all functions only-called-once.
This might have produced a gigantic "first function" with - indeed - >
100K blocks and > 1M pseudos.
To put this into perspective: I am not surprised that this might fail -
I simply try to figure out if this is an error in some pass, or a design
limitation ...
Cheers,
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html
More information about the Gcc-patches
mailing list