gcc optimisation problem

Ian Lance Taylor iant@google.com
Wed Apr 6 14:45:00 GMT 2011


vikramsp <vikram2rhyme@gmail.com> writes:

> no i am not using any -O options. using only individual options
> but many of them are not woking. I have applied all the indivisual 
> -f* switches on the entire gcc torture testsuite. Interestingly i 
> found that only around 15 switches are giving some impact. Is
> there any testsuite which can be used to check each and
> every -f* switch. 

No, there is no such testsuite.

Many -f options are only effective if you also use -O.  This is
documented in the gcc manual.

Ian



More information about the Gcc-help mailing list