ok thanks that is good // Naderan *Mahmood; ----- Original Message ----- From: Jonathan Wakely <jwakely.gcc@xxxxxxxxx> To: Mahmood Naderan <nt_mahmood@xxxxxxxxx> Cc: "gcc-help@xxxxxxxxxxx" <gcc-help@xxxxxxxxxxx>; "gcc@xxxxxxxxxxx" <gcc@xxxxxxxxxxx> Sent: Saturday, February 25, 2012 10:49 PM Subject: Re: optimization report 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.)