aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-21 21:13:45 +0000
committerRichard Stallman <rms@gnu.org>1993-10-21 21:13:45 +0000
commit894715dd366829dec751c83b87ce946cfbc275cf (patch)
treee1fa39c290ec3ad86b0024703d4910107e1eff77
parentb796c573813945dfc2b832a53d2987f110cfb525 (diff)
downloadgcc-894715dd366829dec751c83b87ce946cfbc275cf.zip
gcc-894715dd366829dec751c83b87ce946cfbc275cf.tar.gz
gcc-894715dd366829dec751c83b87ce946cfbc275cf.tar.bz2
(function_arg): Add comment about too many adjust entries.
From-SVN: r5866
-rw-r--r--gcc/config/mips/mips.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 4c994ed..9b192a8 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -2628,6 +2628,10 @@ function_arg (cum, mode, type, named)
last real argument, pass back a parallel vector holding each
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)
{
rtx amount = GEN_INT (BITS_PER_WORD