function.c (fixup_var_refs): Scan catch_clauses too.

Fri Feb  5 17:08:01 1999  Dave Brolley  <brolley@cygnus.com>
        * function.c (fixup_var_refs): Scan catch_clauses too.

From-SVN: r25049
This commit is contained in:
Dave Brolley 1999-02-05 14:12:38 +00:00 committed by Dave Brolley
parent 2814ec94f8
commit d33c2956a4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Feb 5 17:08:01 1999 Dave Brolley <brolley@cygnus.com>
* function.c (fixup_var_refs): Scan catch_clauses too.
Fri Feb 5 11:49:49 1999 Benjamin Kosnik <bkoz@loony.cygnus.com>
* c-common.c (decl_attributes): Fix reserved space for init_priority.

View File

@ -1638,6 +1638,11 @@ fixup_var_refs (var, promoted_mode, unsignedp)
end_sequence ();
}
}
/* Scan the catch clauses for exception handling too. */
push_to_sequence (catch_clauses);
fixup_var_refs_insns (var, promoted_mode, unsignedp, catch_clauses, 0);
end_sequence ();
}
/* REPLACEMENTS is a pointer to a list of the struct fixup_replacement and X is