From 1da7d8c0d37ae794a9161cbb978218c0c6a4d086 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 11 Feb 2011 21:19:16 +0000 Subject: 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 --- gcc/ipa-split.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gcc/ipa-split.c') 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) -- cgit v1.1