Need some opinions

Horst von Brand vonbrand@sleipnir.valparaiso.cl
Wed Mar 3 13:23:00 GMT 1999


Jeffrey A Law <law@hurl.cygnus.com> said:

[...]

> One option would be to always run the "dumb" mode optimizer in jump.c, even
> when not optimizing.

Interesting idea. How much do you think does that buy on executable run
time? How much compile time cost?

> Another would be to rearrange the meaning of -O1, -O2, -O3, etc to make
> space for a -O1 option which did just these simple optimizations.

No way. -O2 et al are widely entrenched by now (for better or worse).

> A third would be to have it controlled by a flag which could be enabled
> even when optimize == 0.

Reasonable too, but yet another flag that interacts with all the others in
possibly weird ways?

Or you could add this to -O1 and up.
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616


More information about the Gcc mailing list