r191095 - in /trunk/gcc: ChangeLog common.opt d...

ak@gcc.gnu.org ak@gcc.gnu.org
Sat Sep 8 17:26:00 GMT 2012


Author: ak
Date: Sat Sep  8 17:26:07 2012
New Revision: 191095

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191095
Log:
Add -fmem-report-wpa

For parallel LTO builds setting -fmem-report does not work very well
because all the LTRANS phases dump it in parallel and typically interleave
it to unreadability.

Since usually the memory bottleneck is WPA add a flag to only dump
the memory report for that.

gcc/:
2012-09-08  Andi Kleen  <ak@linux.intel.com>

	* gcc/common.opt (-fmem-report-wpa): Add
	* gcc/doc/invoke.texi (-fmem-report-wpa): Document.
	* gcc/lto/lto.c (do_whole_program_analysis): Run mem_report
	when mem_report_wpa is set.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/common.opt
    trunk/gcc/doc/invoke.texi
    trunk/gcc/lto/lto.c



More information about the Gcc-cvs mailing list