gcc optimization option flags

M R Swami Reddy MR.Swami.Reddy@nsc.com
Fri May 8 12:27:00 GMT 2009


Hello Andrew,

Thank you very much for your quick response.
But -fverbose-asm and -save-temps doesn't help to list the flags.

Thanks
Swami

Andrew Haley wrote:
> 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