Thanks to all for the kind answers! On 3/28/07, Ramana Radhakrishnan <ramana.radhakrishnan@xxxxxxxxxxxx> wrote:
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)