aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-10-06 11:18:55 +0200
committerMartin Liska <mliska@suse.cz>2020-10-06 15:49:42 +0200
commita30d4fc5199ba16cec39fd3f9cca878a9699cf4e (patch)
tree792e99742209ea776be1a9797ebc1bd3d1a541d4 /gcc/common.opt
parent8988ec5b4232ba1d54a2737d2d03a3161b64300e (diff)
downloadgcc-a30d4fc5199ba16cec39fd3f9cca878a9699cf4e.zip
gcc-a30d4fc5199ba16cec39fd3f9cca878a9699cf4e.tar.gz
gcc-a30d4fc5199ba16cec39fd3f9cca878a9699cf4e.tar.bz2
dbgcnt: print list after compilation
gcc/ChangeLog: * common.opt: Remove -fdbg-cnt-list from deferred options. * dbgcnt.c (dbg_cnt_set_limit_by_index): Make a copy to original_limits. (dbg_cnt_list_all_counters): Print also current counter value and print to stderr. * opts-global.c (handle_common_deferred_options): Do not handle -fdbg-cnt-list. * opts.c (common_handle_option): Likewise. * toplev.c (finalize): Handle it after compilation here.
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 292c2de..7e789d1 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1202,7 +1202,7 @@ Common Report Var(flag_data_sections)
Place data items into their own section.
fdbg-cnt-list
-Common Report Var(common_deferred_options) Defer
+Common Report Var(flag_dbg_cnt_list)
List all available debugging counters with their limits and counts.
fdbg-cnt=