match.pd: Remove superfluous :c.
authorRichard Biener <rguenther@suse.de>
Fri, 28 Jul 2017 13:38:01 +0000 (13:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 28 Jul 2017 13:38:01 +0000 (13:38 +0000)
commit6c35e5b02212b72e5cbbd6ff8c3e413c2c2a21aa
tree7d9a4dd35344453e4c7b4f54238b8528c9c4c9e0
parent6d7649f8b71f9a16b5e9de0b3f8826c5039fa069
match.pd: Remove superfluous :c.

2017-07-28  Richard Biener  <rguenther@suse.de>

* match.pd: Remove superfluous :c.
* genmatch.c (simplify::id): Add member.
(lower_commutative, lower_opt_convert, lower_cond, lower_for):
Copy id.
(current_id): New global.
(dt_node::parent): Move from ...
(dt_operand::parent): ... here.  Add for_id member.
(is_a_helper <dt_operand *>::test): DT_TRUE is also a dt_operand.
(decision_tree::find_node): Relax order requirement when
merging DT_TRUE nodes to ones inbetween the current simplify
and the one we try to merge with.  Add diagnostic whenever
we need to enforce pattern order by not merging.
(decision_tree::insert): Set current_id.
(decision_tree::print_node): Dump parent node and for_id.
(parser::last_id): Add member.
(parser::push_simplify): Assign unique id.
(parser::parser): Initialize last_id.

From-SVN: r250664
gcc/ChangeLog
gcc/genmatch.c
gcc/match.pd