This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to dump all the optimization flags enabled?
- From: "Wei Hu" <glegoo at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 28 Mar 2007 21:53:55 -0400
- Subject: How to dump all the optimization flags enabled?
Hello,
Is there a way to tell gcc to print out all the effective optimization
flags when it compiles a C file?
I know the manual tells you what flags are set at different
optimization levels, but I'm still looking for an answer to my
question because it will be useful to my project.
Thanks!