diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-11 21:19:16 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-11 21:19:16 +0000 |
commit | 892c141ef621e0ceb249dc28205da1b959398327 (patch) | |
tree | 0be6d082a19931a25b706792a777759fc9d4fd6a /gcc/ipa-split.c | |
parent | 59b292ba5aed658380a2e63834008604a2472fc3 (diff) | |
download | gcc-892c141ef621e0ceb249dc28205da1b959398327.tar.gz |
PR tree-optimization/47420
* ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170061 138bc75d-0d04-0410-961f-82ee72b054a4
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 dce57eaeb63..3b26f61b1fb 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) |