Mail Archives: pgcc/1998/10/20/15:51:35
The pgcc Web page documents the optimizations enabled by -O3 through -O6,
but is silent on higher optimizations. (The gcc man pages don't mention
anything higher than -O3.) What, for instance, does -O9 do that -O6 does
not?
Since the egcs/pgcc 1.1a compilers no longer write the switches to the
generated asm file (can we please, please, please get that feature back?)
there's no way to tell which flags were used in a given compilation.
Binary files built with -O6 and -O9 do compare differently sometimes (for
instance, on the Linux kernel bzImage file). Obviously the higher
optimization specified generated different code, but what?
Thanks.
- Raw text -