Enhance syntax of -fdbg-cnt.
authorMartin Liska <mliska@suse.cz>
Wed, 13 Nov 2019 13:47:29 +0000 (14:47 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 13 Nov 2019 13:47:29 +0000 (13:47 +0000)
commit83a49336c63889db05b75d05fe5b2794071da7aa
treef1b7c997f964b2f6f1eca8e4ceafcd3ea15c43a8
parent2895b172d56c355373b64517a3298a01a2f10ec0
Enhance syntax of -fdbg-cnt.

2019-11-13  Martin Liska  <mliska@suse.cz>

* common.opt: Document change of -fdbg-cnt option.
* dbgcnt.c (DEBUG_COUNTER): Remove.
(dbg_cnt_is_enabled): Remove.
(dbg_cnt): Work with new intervals.
(dbg_cnt_set_limit_by_index): Set to new
list of intervals.
(dbg_cnt_set_limit_by_name): Likewise.
(dbg_cnt_process_single_pair): Process new format.
(dbg_cnt_process_opt): Likewise.
(dbg_cnt_list_all_counters): Likewise.
* doc/invoke.texi: Document change of -fdbg-cnt option.
(cmp_tuples): New.
2019-11-13  Martin Liska  <mliska@suse.cz>

* gcc.dg/ipa/ipa-icf-39.c: Update -fdbg-cnt to the new format.
* gcc.dg/pr68766.c: Likewise.

From-SVN: r278140
gcc/ChangeLog
gcc/common.opt
gcc/dbgcnt.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-icf-39.c
gcc/testsuite/gcc.dg/pr68766.c