genmatch.c (add_operator): Allow SSA_NAME as predicate.
authorRichard Biener <rguenther@suse.de>
Fri, 24 Jul 2015 08:31:07 +0000 (08:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 24 Jul 2015 08:31:07 +0000 (08:31 +0000)
commit96a111a3dfb5def92156e41ea48f7677f34ce3c2
treeea73c4893759d64987134135112562c59854df86
parent37d486ab11c0d4f1e860b6dbc46e2e94bb8f0647
genmatch.c (add_operator): Allow SSA_NAME as predicate.

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

* genmatch.c (add_operator): Allow SSA_NAME as predicate.
* fold-const.c (fold_comparison): Move parameter does not
alias &local simplification ...
* match.pd: ... as a pattern here.

From-SVN: r226140
gcc/ChangeLog
gcc/fold-const.c
gcc/genmatch.c
gcc/match.pd