summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-19 09:05:27 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-19 09:05:27 +0000
commit73c455d6c2a5c50728b070998036bf925022482f (patch)
treef7f85af39ad2982bc3183d7d9bd84a7e38b0824f /gcc/except.c
parent0e93a6acf7c27a197ecbe7754e01f2e6e83d3be4 (diff)
downloadgcc-73c455d6c2a5c50728b070998036bf925022482f.tar.gz
Fix logic on when to generate a new handler label
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 0f658941162..a2cee20dc89 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1491,7 +1491,7 @@ expand_start_catch (rtime)
int eh_region_entry = find_func_region (insn_region_num);
/* If we've already issued this label, pick a new one */
- if (catchstack.top->entry->label_used == 0)
+ if (catchstack.top->entry->label_used)
handler_label = gen_exception_label ();
else
catchstack.top->entry->label_used = 1;