Commit 7ecb5d27 by Andrew MacLeod Committed by Andrew Macleod

Fix logic on when to generate a new handler label

From-SVN: r19868
parent 487a6e06
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment