28 May
2009
28 May
'09
3:13 p.m.
Optimizing compilers can inline across translation units, these days.
No way! Really? That's so cool. What compilers currently utilize such an optimization?
I believe that the Intel compiler's "Interprocedure Optimizations" will do that: basically the source is translated to an intermediate format (not quite an object file), and then the linker does all the hard work. Of course you need to compile everything with IPO turned on for it to work, it's *not* going to work if you just link against -lgmp or something. John.