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
+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>
* configure.in (gxx_include_dir): Initialize default value depending on
start_catch_handler (rtime)
tree rtime;
{
- rtx handler_label = catchstack.top->entry->exception_handler_label;
- int insn_region_num = CODE_LABEL_NUMBER (handler_label);
- int eh_region_entry = find_func_region (insn_region_num);
+ rtx handler_label;
+ int 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 (catchstack.top->entry->label_used)