diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-04-23 03:10:02 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2013-04-23 03:10:02 +0000 |
commit | 057f8f20df4a1ef022ea917f4e7690b3092089c9 (patch) | |
tree | eff52b355bd46487f372ab36d3838beee7409245 /gcc/common.opt | |
parent | 86210f13cdab46fb3ac1327f7e016646684e5709 (diff) | |
download | gcc-057f8f20df4a1ef022ea917f4e7690b3092089c9.zip gcc-057f8f20df4a1ef022ea917f4e7690b3092089c9.tar.gz gcc-057f8f20df4a1ef022ea917f4e7690b3092089c9.tar.bz2 |
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
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index f0cb9e8..8be32e5 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1504,6 +1504,10 @@ flto-report Common Report Var(flag_lto_report) Init(0) Report various link-time optimization statistics +flto-report-wpa +Common Report Var(flag_lto_report_wpa) Init(0) +Report various link-time optimization statistics for WPA only + fmath-errno Common Report Var(flag_errno_math) Init(1) Optimization SetByCombined Set errno after built-in math functions |