genmatch.c (commutative_tree_code, [...]): Copy from tree.c
authorRichard Biener <rguenther@suse.de>
Fri, 3 Jul 2015 13:46:34 +0000 (13:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 3 Jul 2015 13:46:34 +0000 (13:46 +0000)
commit805a54065f592746919df9f44d2cdb70c72ea1b1
tree993f22ec98c61bcd0edecf3ff1407fc79fdea838
parentdba9842f05e26bd3b9ff7453be8067e95d49a0f3
genmatch.c (commutative_tree_code, [...]): Copy from tree.c

2015-07-03  Richard Biener  <rguenther@suse.de>

* genmatch.c (commutative_tree_code, commutative_ternary_tree_code):
Copy from tree.c
(dt_operand::gen_gimple_expr): After valueizing operands
re-canonicalize operand order for commutative tree codes.

From-SVN: r225378
gcc/ChangeLog
gcc/genmatch.c