re PR target/91204 (ICE in expand_expr_real_2, at expr.c:9215 with -O3)
authorJakub Jelinek <jakub@redhat.com>
Sat, 20 Jul 2019 17:13:00 +0000 (19:13 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 20 Jul 2019 17:13:00 +0000 (19:13 +0200)
commit4b3df2657401475f94a7fc60e4e7f8ed6bbe2610
tree316f4240bcb8ca389b783c719572a6ecf96ea6ac
parent7604f4351a2c08ea9340bd124570d2c4bb11d3cd
re PR target/91204 (ICE in expand_expr_real_2, at expr.c:9215 with -O3)

PR target/91204
* optabs.c (expand_unop): As fallback, expand ~op0 as op0 ^ -1.

* gcc.c-torture/compile/pr91204.c: New test.

From-SVN: r273629
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr91204.c [new file with mode: 0644]