summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-06 14:06:04 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-06 14:06:04 +0000
commit5168ef25edda9d128603ea0673552a64a5cb4b5c (patch)
treee1e42815c9499f0b95c3a5198d14934740fd2fc1 /gcc/common.opt
parent59d5ada40cf60a81d4e34f9a6c37d2a45a299d2a (diff)
downloadgcc-5168ef25edda9d128603ea0673552a64a5cb4b5c.tar.gz
* doc/invoke.texi (-fprofile-report): Document.
* common.opt (-fprofile-report): New option. * toplev.c (finalize): Call dump_profile_report. * toplev.h (profile_report): Declare. * passes.c (profile_record): New static var. (check_profile_consistency): New function. (dump_profile_record): New function. (execute_one_ipa_transform_pass): Call check_profile_consistency. (execute_one_pass): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index f0e757ca6fa..6de670b8ae5 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1654,6 +1654,10 @@ fprofile-values
Common Report Var(flag_profile_values)
Insert code to profile values of expressions
+fprofile-report
+Common Report Var(profile_report)
+Report on consistency of profile
+
frandom-seed
Common Var(common_deferred_options) Defer