re PR target/84700 (ICE on 32-bit BE powerpc targets w/ -misel -O1)
authorJakub Jelinek <jakub@redhat.com>
Mon, 5 Mar 2018 22:13:58 +0000 (23:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 5 Mar 2018 22:13:58 +0000 (23:13 +0100)
commit9a25c5ce6e2677ae33ba489bd18335332f5e2560
treec7c2c5cdf293033049f224f00c35f10f0d73b21d
parent46cf7fa13bc81496856b23f9100d76b8bfbbb437
re PR target/84700 (ICE on 32-bit BE powerpc targets w/ -misel -O1)

PR target/84700
* combine.c (combine_simplify_rtx): Don't try to simplify if
if_then_else_cond returned non-NULL, but either true_rtx or false_rtx
are equal to x.

* gcc.target/powerpc/pr84700.c: New test.

From-SVN: r258263
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr84700.c [new file with mode: 0644]