Add -flto-report-wpa
authorAndi Kleen <ak@linux.intel.com>
Tue, 23 Apr 2013 03:10:02 +0000 (03:10 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Tue, 23 Apr 2013 03:10:02 +0000 (03:10 +0000)
commit057f8f20df4a1ef022ea917f4e7690b3092089c9
treeeff52b355bd46487f372ab36d3838beee7409245
parent86210f13cdab46fb3ac1327f7e016646684e5709
Add -flto-report-wpa

-flto-report is useful, but it prints for every LTRANS pass and
is very noisy and the main problem is often in WPA only.

Add a new -flto-report-wpa option that is only printed for WPA.

gcc/:

2013-04-22  Andi Kleen  <ak@linux.intel.com>

* common.opt (-flto-report-wpa): Add.
* doc/invoke.texi (-flto-report-wpa): Add.
* lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa.
(lto_main): dito.

From-SVN: r198172
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/lto/lto.c