This is the mail archive of the
mailing list for the GCC project.
Re: GCSE store motion
On Wed, May 15, 2002 at 11:05:36AM -0600, Kevin Handy wrote:
> Just a dumb question, but is there a way to display which optimizations
> were triggered within a compile and how many times? Probably not
> very useful generally, but still might be intresting to see. Might let you
> see if an optimization suddenly stopped working.
See the -d<letter> options for gcc, which produce debugging dumps. Many
optimization passes record information about what optimizations are done
or why they cannot be done.