gcc optimization option flags
Andrew Haley
aph@redhat.com
Fri May 8 12:19:00 GMT 2009
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.
More information about the Gcc-help
mailing list