This is the mail archive of the gcc@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]

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.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]