Honza,
At the Cauldron meeting last week I mentioned that I wasn't able to
compile our "small" weather forecasting program with LTO.
In the mean time I have read some bug reports with "multiple prevailing
..." errors, which made me try linking with the 'gold' linker - that worked.
So the only things building the software that I changed were adding
-flto and -fuse-ld=gold.
Some statistics of the source code:
3902 files totaling 1081944 lines.
The result works flawlessly.
Over the weekend I will study the LTO diagnostics to see what decisions
were made with respect to inlining and other optimizations.
Thanks !
--
Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news