except.c (expand_fixup_region_end): Do not peek at INSN_UID (node->entry->outer_conte...
authorJeffrey A Law <law@cygnus.com>
Thu, 2 Sep 1999 06:08:25 +0000 (06:08 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 2 Sep 1999 06:08:25 +0000 (00:08 -0600)
        * except.c (expand_fixup_region_end): Do not peek at
        INSN_UID (node->entry->outer_context) for flag_new_exceptions.

From-SVN: r29047

gcc/ChangeLog
gcc/except.c

index bbda02b1f15899fca0f00597ceec38690ad224bf..592af76844bbdcd4b9e929e878a3af2e345ea858 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * except.c (expand_fixup_region_end): Do not peek at
+       INSN_UID (node->entry->outer_context) for flag_new_exceptions.
+
 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
 
        * flags.h: New variables align_loops, align_loops_log,
index 0d6abc39e14433f053980f7f8e6d67f8b34562f8..cc6a8d1b766facb4e34add36f4c95b091822e99b 100644 (file)
@@ -1544,8 +1544,11 @@ expand_fixup_region_end (cleanup)
      and we could get an infinte loop when it tried to rethrow, or just
      generally incorrect execution following a throw. */
 
-  dont_issue = ((INSN_UID (node->entry->outer_context) == 0) 
-            && (ehstack.top->entry != node->entry));
+  if (flag_new_exceptions)
+    dont_issue = 0;
+  else
+    dont_issue = ((INSN_UID (node->entry->outer_context) == 0) 
+                 && (ehstack.top->entry != node->entry));
 
   ehstack.top->entry->outer_context = node->entry->outer_context;