aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-05-21 09:22:09 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-05-21 09:22:09 +0000
commite8a2a782ee52ad23f841cceb7a6f4aed6a69a3fd (patch)
treeac233e8f350ab030cadcf102d5a7a215501b652b /gcc
parent92c708d23c0ae051dde4f60211952bf727719cd5 (diff)
downloadgcc-e8a2a782ee52ad23f841cceb7a6f4aed6a69a3fd.zip
gcc-e8a2a782ee52ad23f841cceb7a6f4aed6a69a3fd.tar.gz
gcc-e8a2a782ee52ad23f841cceb7a6f4aed6a69a3fd.tar.bz2
cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table once finished.
* cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table once finished. From-SVN: r135712
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgexpand.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f354031..63b20e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table
+ once finished.
+
2008-05-20 David Daney <ddaney@avtrex.com>
* config/mips/mips.md (UNSPEC_SYNC_NEW_OP_12,
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 3e36985..69a911e 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -1920,9 +1920,9 @@ tree_expand_cfg (void)
/* We're done expanding trees to RTL. */
currently_expanding_to_rtl = 0;
- /* Convert tree EH labels to RTL EH labels, and clean out any unreachable
- EH regions. */
+ /* Convert tree EH labels to RTL EH labels and zap the tree EH table. */
convert_from_eh_region_ranges ();
+ set_eh_throw_stmt_table (cfun, NULL);
rebuild_jump_labels (get_insns ());
find_exception_handler_labels ();