re PR tree-optimization/92734 (Missing match.pd simplification done by fold_binary_lo...
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Dec 2019 09:38:48 +0000 (10:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Dec 2019 09:38:48 +0000 (10:38 +0100)
commit526b4c716a340ee9464965e63eee2b9954fe21f1
tree23a2d4dc47394916d3c8e36899a6ebb0d397535b
parent6f1e966874de23d7e47cbaebfb5a9de6759cb089
re PR tree-optimization/92734 (Missing match.pd simplification done by fold_binary_loc on generic)

PR tree-optimization/92734
* match.pd ((A +- B) - A -> +- B, (A +- B) -+ B -> A,
A - (A +- B) -> -+ B, A +- (B -+ A) -> +- B): Handle nop_convert.

* gcc.dg/tree-ssa/pr92734-2.c: New test.

From-SVN: r278958
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr92734-2.c [new file with mode: 0644]