Add dbgcnt for gimple_match and generic_match.
authorMartin Liska <mliska@suse.cz>
Wed, 3 Jul 2019 12:43:44 +0000 (14:43 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 3 Jul 2019 12:43:44 +0000 (12:43 +0000)
commitd398999dbe0eca4978beaa82bf84b3e3b0798f0e
tree6efaba0e8aa6ce61052fd129296bcc445171f438
parent596341c741a4a746497a1da8322fce0ad625e26b
Add dbgcnt for gimple_match and generic_match.

2019-07-03  Martin Liska  <mliska@suse.cz>

* dbgcnt.def (DEBUG_COUNTER): Add match debug counter.
* genmatch.c (dt_simplify::gen_1): Generate dbgcnt
condition.
* generic-match-head.c: Include dbgcnt.h.
* gimple-match-head.c: Likewise.

From-SVN: r273006
gcc/ChangeLog
gcc/dbgcnt.def
gcc/generic-match-head.c
gcc/genmatch.c
gcc/gimple-match-head.c