cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table once finished.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 21 May 2008 09:22:09 +0000 (09:22 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 21 May 2008 09:22:09 +0000 (09:22 +0000)
* cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table
once finished.

From-SVN: r135712

gcc/ChangeLog
gcc/cfgexpand.c

index f354031add9a59641775cc3aa7a83fe5d9abbddf..63b20e5f978f4b0cbc6bf313fbd756a871f3bef9 100644 (file)
@@ -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,
index 3e36985b3d8112cb9d353d6beab9acabd2285155..69a911eac8ef5233467a026c9cab84db5b715600 100644 (file)
@@ -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 ();