re PR tree-optimization/84960 (ICE in GIMPLE pass: isolate-paths)
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Mar 2018 20:53:16 +0000 (21:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Mar 2018 20:53:16 +0000 (21:53 +0100)
commit3e129b5bc6bc96a0844dcdf75188dc4710028939
tree57ddf070a21d3f7a8a1953218bf99368d9a4f3b0
parent535808fd722db576f0f14424bc083fbef183fd4b
re PR tree-optimization/84960 (ICE in GIMPLE pass: isolate-paths)

PR tree-optimization/84960
* tree-cfg.c (remove_bb): Don't move forced labels into bb->prev_bb
if it is ENTRY block, move them into single succ of ENTRY in that case.

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

From-SVN: r258744
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr84960.c [new file with mode: 0644]
gcc/tree-cfg.c