* integrate.c (expand_inline_function): Pull out the original decl.

From-SVN: r35993
This commit is contained in:
Jason Merrill 2000-08-25 17:52:44 -04:00 committed by Jason Merrill
parent d51ff7cb78
commit ecff20d49e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-08-25 Jason Merrill <jason@redhat.com>
* integrate.c (expand_inline_function): Pull out the original decl.
2000-08-25 Jim Wilson <wilson@cygnus.com>
* cse.c (cse_insn): Don't pass label subtraction to force_const_mem.

View File

@ -653,6 +653,10 @@ expand_inline_function (fndecl, parms, target, ignore, type,
if (max_regno < FIRST_PSEUDO_REGISTER)
abort ();
/* Pull out the decl for the function definition; fndecl may be a
local declaration, which would break DECL_ABSTRACT_ORIGIN. */
fndecl = inl_f->decl;
nargs = list_length (DECL_ARGUMENTS (fndecl));
if (cfun->preferred_stack_boundary < inl_f->preferred_stack_boundary)