Improve -dbg-cnt error message and support :0.
authorMartin Liska <mliska@suse.cz>
Mon, 18 Nov 2019 11:51:20 +0000 (12:51 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 18 Nov 2019 11:51:20 +0000 (11:51 +0000)
commit342ae9ad5517d74e7b2a87beeea15ac139ada0fe
tree356b61ed54aaa43b0215a5e75dbd4ba3f7556d77
parent446096148ca9775cb56f9ee924fa283babcd0b76
Improve -dbg-cnt error message and support :0.

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

* dbgcnt.c (dbg_cnt_set_limit_by_name): Provide error
message for an unknown counter.
(dbg_cnt_process_single_pair): Support 0 as minimum value.
(dbg_cnt_process_opt): Remove unreachable code.

From-SVN: r278396
gcc/ChangeLog
gcc/dbgcnt.c