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
This commit is contained in:
Andrew MacLeod 1998-06-24 06:56:37 +00:00 committed by Andrew Macleod
parent e0cb250f7a
commit 9a9deafcdd
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -1513,9 +1513,16 @@ void
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)