This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -Os should default optimize to 2, without enforcing it
- To: 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: Sat, 10 Mar 2001 13:38:12 -0800
- CC: gcc-patches at gcc dot gnu dot org, cosmint at cs dot ubbcluj dot ro
- References: <Pine.GSO.4.21.0103101214090.27811-100000@qew.cs>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
The documentation says
If you use multiple @samp{-O} options, with or without level numbers,
the last such option is the one that is effective.
(this is right after the description of -Os)
so what's supposed to happen is that -O1 -Os means the same thing as -Os.
--
- Geoffrey Keating <geoffk@geoffk.org>