re PR tree-optimization/69740 (gcc ICE at -O2 and above on valid code on x86_64-linux...
authorRichard Biener <rguenther@suse.de>
Fri, 26 Feb 2016 18:17:02 +0000 (18:17 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 26 Feb 2016 18:17:02 +0000 (11:17 -0700)
commit4a4f9d2bf86ef5f48d45ad39802d34dc349f6509
tree31ef9d5cee18591d47b3be8f38ab372849e71b59
parentad2a27062e2837a776fd0e5cb67ef4324c5c9936
re PR tree-optimization/69740 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure")

PR tree-optimization/69740
* cfghooks.c (remove_edge): Request loop fixups if we delete
an edge that might turn an irreducible loop into a natural
loop.

        PR tree-optimization/69740
* gcc.c-torture/compile/pr69740-1.c: New test.
* gcc.c-torture/compile/pr69740-2.c: New test.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r233754
gcc/ChangeLog
gcc/cfghooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr69740-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr69740-2.c [new file with mode: 0644]