]> gcc.gnu.org Git - gcc.git/commit
re PR rtl-optimization/64316 (ICE in simplify_const_unary_operation after r218503)
authorJakub Jelinek <jakub@redhat.com>
Mon, 15 Dec 2014 20:10:45 +0000 (21:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 15 Dec 2014 20:10:45 +0000 (21:10 +0100)
commit3202dcccb9dec6a008c9f1887fd4a4c75ebc8940
treeefca2aa0c015aa9739b165ce358816d2fd54c6e2
parentd8c1674416836c4b4573172b541992ddd12df713
re PR rtl-optimization/64316 (ICE in simplify_const_unary_operation after r218503)

PR rtl-optimization/64316
* simplify-rtx.c (simplify_relational_operation_1): For
(eq/ne (and x y) x) and (eq/ne (and x y) y) optimizations use
CONST0_RTX instead of const0_rtx.

* gcc.dg/pr64316.c: New test.

From-SVN: r218762
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr64316.c [new file with mode: 0644]
This page took 0.063731 seconds and 5 git commands to generate.