Commit ecff20d4 by Jason Merrill Committed by Jason Merrill

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

From-SVN: r35993
parent d51ff7cb
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.
......
......@@ -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)
......
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