Fix logic on when to generate a new handler label
From-SVN: r19868
This commit is contained in:
parent
487a6e06ce
commit
7ecb5d27dc
|
@ -1,3 +1,8 @@
|
|||
Tue May 19 11:51:00 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
|
||||
|
||||
* except.c (expand_start_catch): Correct logic for when to
|
||||
generate a new handler label, and when to use the old one.
|
||||
|
||||
Tue May 19 11:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* Makefile.in (print-rtl.o): Depend on bitmap.h.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue