dbgcnt: print list after compilation
authorMartin Liska <mliska@suse.cz>
Tue, 6 Oct 2020 09:18:55 +0000 (11:18 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 6 Oct 2020 13:49:42 +0000 (15:49 +0200)
commita30d4fc5199ba16cec39fd3f9cca878a9699cf4e
tree792e99742209ea776be1a9797ebc1bd3d1a541d4
parent8988ec5b4232ba1d54a2737d2d03a3161b64300e
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.
gcc/common.opt
gcc/dbgcnt.c
gcc/opts-global.c
gcc/opts.c
gcc/toplev.c