This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: optimization report
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Mahmood Naderan <nt_mahmood at yahoo dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sat, 25 Feb 2012 19:19:46 +0000
- Subject: Re: optimization report
- References: <1330196781.25139.YahooMailNeo@web111718.mail.gq1.yahoo.com>
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.)