Re: [PATCH] Improve -dbg-cnt error message and support :0.

2019-11-18 Thread Richard Biener
On Mon, Nov 18, 2019 at 11:34 AM Martin Liška wrote: > > Hi. > > The patch fixes missing diagnostics for situations like: > > $ gcc -fdbg-cnt=match123:1 ... > > and I see it beneficial to support foo:0 in order to no allow > any execution of dbg_cnt(foo). It's handy for passes that are not so > ea

[PATCH] Improve -dbg-cnt error message and support :0.

2019-11-18 Thread Martin Liška
Hi. The patch fixes missing diagnostics for situations like: $ gcc -fdbg-cnt=match123:1 ... and I see it beneficial to support foo:0 in order to no allow any execution of dbg_cnt(foo). It's handy for passes that are not so easy to disable. Ready for trunk? Thanks, Martin gcc/ChangeLog: 2019-