Commit 894715dd by Richard Stallman

(function_arg): Add comment about too many adjust entries.

From-SVN: r5866
parent b796c573
...@@ -2628,6 +2628,10 @@ function_arg (cum, mode, type, named) ...@@ -2628,6 +2628,10 @@ function_arg (cum, mode, type, named)
last real argument, pass back a parallel vector holding each last real argument, pass back a parallel vector holding each
of the adjustments. */ of the adjustments. */
/* ??? function_arg can be called more than once for each argument.
As a result, we compute more adjustments than we need here.
See the CUMULATIVE_ARGS definition in mips.h. */
if (struct_p && int_size_in_bytes (type) < 4) if (struct_p && int_size_in_bytes (type) < 4)
{ {
rtx amount = GEN_INT (BITS_PER_WORD rtx amount = GEN_INT (BITS_PER_WORD
......
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