This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -Os ???
- To: "David Leon" <dzleon at yahoo dot com>
- Subject: Re: -Os ???
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 27 Oct 1999 23:46:16 -0600
- cc: help-gcc at gnu dot org
- Reply-To: law at cygnus dot com
In message <7v8l27$mom$1@alexander.INS.CWRU.Edu>you write:
> What does -Os do?
> I've seen it used in the testsuite, but I haven't found a description in th
> e
> man pages, nor the info pages.
It's certainly in the info pages. Look more closely.
@item -Os
Optimize for size. @samp{-Os} enables all @samp{-O2} optimizations that
do not typically increase code size. It also performs further
optimizations designed to reduce code size.