This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Need some opinions
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: Need some opinions
- From: Lars Albertsson <lalle at sics dot se>
- Date: 05 Mar 1999 15:05:38 +0100
- Cc: law at cygnus dot com, Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>, egcs at egcs dot cygnus dot com
- References: <10715.920522183@hurl.cygnus.com> <orww0xw4s2.fsf@araguaia.dcc.unicamp.br>
Alexandre Oliva <oliva@dcc.unicamp.br> writes:
> On Mar 4, 1999, Jeffrey A Law <law@hurl.cygnus.com> wrote:
>
> >> > 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).
> > I suspect this is the case. And it is definitely for the worse IMHO.
>
> How about -O.5 ? :-)
How about denoting optimisation level by name rather than by number?
If you introduce -Onone, -Osome, -Oalmost-all, etc, as aliases to -On
and people eventually start using it, you could insert new levels in
between without changing expected behaviour.
/Lalle