This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Os should default optimize to 2, without enforcing it
- To: Cosmin Truta <cosmin at cs dot toronto dot edu>
- Subject: Re: -Os should default optimize to 2, without enforcing it
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 09 Mar 2001 15:21:08 -0800
- CC: gcc at gcc dot gnu dot org
- References: <Pine.LNX.4.21.0103091554260.13155-100000@donald.cs>
Cosmin Truta <cosmin@cs.toronto.edu> writes:
> Hi again,
>
> I noticed an inconsistency between the comment of optimize_size (that
> *defaults* optimize to 2 -- I guess this is the initial intention) and the
> initialization (that *enforces* optimize to be 2). The patch below,
> independent of the patch sent in my previous message, fixes the problem:
No, it's supposed to be that way. The flag is
-O[setting]
where 'setting' can be `0', `1', `2', `3', or `s', and the default is
`1' if none is specified.
--
- Geoffrey Keating <geoffk@geoffk.org>