re PR tree-optimization/71520 (Missing cross-jumping of switch cases)
authorJakub Jelinek <jakub@redhat.com>
Tue, 14 Jun 2016 10:20:04 +0000 (12:20 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 14 Jun 2016 10:20:04 +0000 (12:20 +0200)
commit23e025db703c84f0f22c667faff15d4ac2b86e64
tree7d867f9565cd9257c7d517aca18d5cc8c2137d5a
parent585334d41d1a255f612d6470ba9b7bd383cdd5e4
re PR tree-optimization/71520 (Missing cross-jumping of switch cases)

PR tree-optimization/71520
* tree-ssa-tail-merge.c (find_duplicate): Handle labels.
(replace_block_by): Move user labels from bb1 to bb2.

* gcc.dg/tree-ssa/pr71520.c: New test.

From-SVN: r237427
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr71520.c [new file with mode: 0644]
gcc/tree-ssa-tail-merge.c