re PR rtl-optimization/88904 (Basic block incorrectly skipped in jump threading.)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Jan 2019 09:12:31 +0000 (10:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Jan 2019 09:12:31 +0000 (10:12 +0100)
commitbecba8a79fb0a29aea9a8e10a6c298a124336b92
tree4767e19db3f0b7668a0da51ef681574441d82460
parentc875d46fefac13675853f58ec7dea8f402779af0
re PR rtl-optimization/88904 (Basic block incorrectly skipped in jump threading.)

PR rtl-optimization/88904
* cfgcleanup.c (thread_jump): Verify cond2 doesn't mention
any nonequal registers before processing BB_END (b).

* gcc.c-torture/execute/pr88904.c: New test.

From-SVN: r268140
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr88904.c [new file with mode: 0644]