This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc optimization option flags
- From: Andrew Haley <aph at redhat dot com>
- To: M R Swami Reddy <MR dot Swami dot Reddy at nsc dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 08 May 2009 13:18:53 +0100
- Subject: Re: gcc optimization option flags
- References: <4A0422BE.8050403@nsc.com>
M R Swami Reddy wrote:
> Hello,
> Could any one mention the list optimization flags enabled with -o1 option.
> I have a list ( I strongly guess, a few more flags missing from the
> below list):
> ==
> -fomit-frame-pointer
> -fif-conversion
> -fif-conversion2 \
> -fipa-pure-const \
> -fipa-reference \
> -ftree-ccp \
> -ftree-dce \
> -ftree-dse \
> -ftree-ter \
> -ftree-sra \
> -ftree-copyrename \
> -ftree-fre \
> -ftree-copy-prop \
> -ftree-sink \
> -ftree-salias \
> -funit-at-a-time
Compile with -fverbose-asm -save temps and look at the .s file
Andrew.