This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, 2007-03-28 at 21:53 -0400, Wei Hu wrote: > Hello, > > Is there a way to tell gcc to print out all the effective optimization > flags when it compiles a C file?
-fverbose-asm prints out all the optimization options to the assembler files. So a combination of --save-temps and -fverbose-asm + some scripting magic could do the trick for you .
cheers Ramana -- cheers Ramana
Ramana Radhakrishnan IDE & Tools Group Celunite Inc (www.celunite.com)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |