Re: [PATCH] Add dbgcnt for gimple_match and generic_match.

2019-07-03 Thread Richard Biener
On Wed, Jul 3, 2019 at 2:39 PM Martin Liška wrote: > > On 7/3/19 1:48 PM, Richard Biener wrote: > > On Wed, Jul 3, 2019 at 12:39 PM Martin Liška wrote: > >> > >> Hi. > >> > >> The patch is about dbgcnt support for match in GIMPLE and GENERIC. > >> It's handy for isolation of a problem. > >> > >>

Re: [PATCH] Add dbgcnt for gimple_match and generic_match.

2019-07-03 Thread Martin Liška
| 2 ++ >> gcc/generic-match-head.c | 2 +- >> gcc/genmatch.c | 5 + >> gcc/gimple-match-head.c | 2 +- >> 4 files changed, 9 insertions(+), 2 deletions(-) >> >> >From 035a918ba10ad002ef1707e308143040311f707b Mon Sep 17 00:00:00 200

Re: [PATCH] Add dbgcnt for gimple_match and generic_match.

2019-07-03 Thread Richard Biener
On Wed, Jul 3, 2019 at 12:39 PM Martin Liška wrote: > > Hi. > > The patch is about dbgcnt support for match in GIMPLE and GENERIC. > It's handy for isolation of a problem. > > Ready to be installed after it survives tests? Hmm, I think we only want this on (simplify...), not (match...), no? Thus

[PATCH] Add dbgcnt for gimple_match and generic_match.

2019-07-03 Thread Martin Liška
Hi. The patch is about dbgcnt support for match in GIMPLE and GENERIC. It's handy for isolation of a problem. Ready to be installed after it survives tests? Thanks, Martin gcc/ChangeLog: 2019-07-03 Martin Liska * dbgcnt.def (DEBUG_COUNTER): Add gimple_match and generic_match