except.c (expand_fixup_region_end): Do not peek at INSN_UID (node->entry->outer_context) for flag_new_exceptions.

* except.c (expand_fixup_region_end): Do not peek at
        INSN_UID (node->entry->outer_context) for flag_new_exceptions.

From-SVN: r29047
This commit is contained in:
Jeffrey A Law 1999-09-02 06:08:25 +00:00 committed by Jeff Law
parent ff2589d152
commit 2598e85aad
2 changed files with 10 additions and 2 deletions

View 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,

View 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;