[PATCH] Fix PR68590

2015-12-01 Thread Richard Biener
This fixes the PR in another way as well, allowing as many capture uses in the replacement expression as in the original one, avoiding some spurious save_exprs that way (and not perform "CSE" within the match-and-simplify framework). Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to

[PATCH] Fix PR68590

2015-12-01 Thread Richard Biener
The following avoids PR68590 by merging two match.pd patterns. Bootstrapped and tested on x86_64-unknown-linux-gnu. Richard. 2015-12-01 Richard Biener PR middle-end/68590 * match.pd: Merge (eq @0 @0) and (ge/le @0 @0) patterns. Index: gcc/match.pd ==