On 25 February 2012 19:06, Mahmood Naderan wrote: > > Does GCC report on optimizations? I mean, using -O3, it is good to see which part of code was the hardest part in optimization process. Or a report that shows which part of code used largest memory. Have you looked at -fmem-report and -ftime-report? Both are documented in the manual. (This isn't really appropriate for the gcc@ list, any further questions about using GCC should probably only go to the gcc-help@ list.)