diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-02-11 21:19:16 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-02-11 21:19:16 +0000 |
commit | 1da7d8c0d37ae794a9161cbb978218c0c6a4d086 (patch) | |
tree | 0be6d082a19931a25b706792a777759fc9d4fd6a /gcc/ipa-split.c | |
parent | a26e8df4dcf99181598e35b599663c6f484dec72 (diff) | |
download | gcc-1da7d8c0d37ae794a9161cbb978218c0c6a4d086.zip gcc-1da7d8c0d37ae794a9161cbb978218c0c6a4d086.tar.gz gcc-1da7d8c0d37ae794a9161cbb978218c0c6a4d086.tar.bz2 |
re PR tree-optimization/47420 (ICE in calc_dfs_tree during RESX lowering)
PR tree-optimization/47420
* ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.
From-SVN: r170061
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r-- | gcc/ipa-split.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c index dce57ea..3b26f61 100644 --- a/gcc/ipa-split.c +++ b/gcc/ipa-split.c @@ -643,11 +643,10 @@ visit_bb (basic_block bb, basic_block return_bb, into different partitions. This would require tracking of EH regions and checking in consider_split_point if they are not used elsewhere. */ - if (gimple_code (stmt) == GIMPLE_RESX - && stmt_can_throw_external (stmt)) + if (gimple_code (stmt) == GIMPLE_RESX) { if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, "Cannot split: external resx.\n"); + fprintf (dump_file, "Cannot split: resx.\n"); can_split = false; } if (gimple_code (stmt) == GIMPLE_EH_DISPATCH) |