Commit 9a9deafc by Andrew MacLeod Committed by Andrew Macleod

except.c (start_catch_handler): Do nothing if EH is not on.

Wed Jun 24 09:14:04 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
	* except.c (start_catch_handler): Do nothing if EH is not on.

From-SVN: r20695
parent e0cb250f
Wed Jun 24 09:14:04 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* except.c (start_catch_handler): Do nothing if EH is not on.
1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on * configure.in (gxx_include_dir): Initialize default value depending on
......
...@@ -1513,9 +1513,16 @@ void ...@@ -1513,9 +1513,16 @@ void
start_catch_handler (rtime) start_catch_handler (rtime)
tree rtime; tree rtime;
{ {
rtx handler_label = catchstack.top->entry->exception_handler_label; rtx handler_label;
int insn_region_num = CODE_LABEL_NUMBER (handler_label); int insn_region_num;
int eh_region_entry = find_func_region (insn_region_num); int eh_region_entry;
if (! doing_eh (1))
return;
handler_label = catchstack.top->entry->exception_handler_label;
insn_region_num = CODE_LABEL_NUMBER (handler_label);
eh_region_entry = find_func_region (insn_region_num);
/* If we've already issued this label, pick a new one */ /* If we've already issued this label, pick a new one */
if (catchstack.top->entry->label_used) if (catchstack.top->entry->label_used)
......
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