egcs-19990307: -foptimize-register-moves doesn't exist
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Sun Mar 7 15:54:00 GMT 1999
The info file says this is an alias for -fregmove
Also, the info file says:
`-O2'
Optimize even more. GNU CC performs nearly all supported
optimizations that do not involve a space-speed tradeoff. The
compiler does not perform loop unrolling or function inlining when
you specify `-O2'. As compared to `-O', this option increases
both compilation time and the performance of the generated code.
`-O2' turns on all optional optimizations except for loop unrolling
and function inlining. It also turns on the `-fforce-mem' option
on all machines and frame pointer elimination on machines where
doing so does not interfere with debugging.
This seems not to be right, as at least -ffloat-store, -fno-defer-pop (OK,
no optimization there, but it's confusing anyway) aren't enabled;
-ffast-math, -fstrict-aliasing aren't enabled either.
The section on -f options should be reordered to put optimizations
together, separate from miscelaneous options.
Thanks!
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
More information about the Gcc-bugs
mailing list