On Tue, Jul 19, 2011 at 2:41 PM, Asif Musthafa <asifmusthafa@xxxxxxxxx> wrote: > Hi, > > I am using -fprofile-generate -fprofile-use in a sample application. I > can see that the app is running faster after -fprofile-use. Is there a > way to see what all optimization are done by this flag in my app. > > My intention is to handpick the more generic optimizations from this list. With -fprofile-use option -fbranch-probabilities, -fvpt, -funroll-loops, -fpeel-loops, -ftracer options are enabled: Check the below link for more information http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html -Nagaraju