re PR tree-optimization/71661 (wrong code at -O3)
authorJeff Law <law@redhat.com>
Thu, 6 Oct 2016 16:23:22 +0000 (10:23 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 6 Oct 2016 16:23:22 +0000 (10:23 -0600)
commitf31276858a7182663abc0f91fd8961231191b9ed
treee725aca2c8be545345030d9cb58244de3718c495
parent63656b8da287658256ad6d6883b9da1b0f59e900
re PR tree-optimization/71661 (wrong code at -O3)

PR tree-optimization/71661
* tree-cfgcleanup.c (remove_forwarder_block_with_phi): Handle case when
removal of a forwarder exposes a new natural loop.

PR tree-optimization/71661
* gcc.dg/tree-ssa/pr71661.c: New test.

From-SVN: r240836
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr71661.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c