re PR tree-optimization/71643 (internal compiler error: in redirect_eh_edge_1, at...
authorJakub Jelinek <jakub@redhat.com>
Sat, 25 Jun 2016 17:23:02 +0000 (19:23 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 25 Jun 2016 17:23:02 +0000 (19:23 +0200)
commitf8a06e24da2a52783b3219d61857045d7564d5b6
treed4c0505a2e27d3da1b7ef6ccd3ede3e18f45d636
parent2a65e70bcfb000b229a2cbf54b06956108443598
re PR tree-optimization/71643 (internal compiler error: in redirect_eh_edge_1, at tree-eh.c:2318 after r237427)

PR tree-optimization/71643
* tree-ssa-tail-merge.c (find_clusters_1): Ignore basic blocks with
EH preds.

* tree-ssa-tail-merge.c (deps_ok_for_redirect_from_bb_to_bb): Don't
leak a bitmap if dep_bb is NULL.

* g++.dg/opt/pr71643.C: New test.

From-SVN: r237783
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr71643.C [new file with mode: 0644]
gcc/tree-ssa-tail-merge.c