* builtins.c: Fix comment typos.

From-SVN: r91749
This commit is contained in:
Kazu Hirata 2004-12-05 14:18:18 +00:00 committed by Kazu Hirata
parent 91373fe8f7
commit 118f3b19a3
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-12-05 Kazu Hirata <kazu@cs.umass.edu>
* builtins.c: Fix comment typos.
2004-12-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/18730

View File

@ -8653,7 +8653,7 @@ fold_builtin_fputs (tree arglist, bool ignore, bool unlocked, tree len)
return build_function_call_expr (fn, arglist);
}
/* Fold the new_arg's agruments (ARGLIST). Returns true if there was an error
/* Fold the new_arg's arguments (ARGLIST). Returns true if there was an error
produced. False otherwise. This is done so that we don't output the error
or warning twice or three times. */
bool
@ -8684,9 +8684,11 @@ fold_builtin_next_arg (tree arglist)
arg = TREE_OPERAND (arg, 0);
if (arg != last_parm)
{
/* FIXME: Sometimes with the tree optimizaters we can get the not the last argument
even though the user used the last argument. We just warn and set the arg to be
the last argument so that we will get wrong-code because of it. */
/* FIXME: Sometimes with the tree optimizers we can get the
not the last argument even though the user used the last
argument. We just warn and set the arg to be the last
argument so that we will get wrong-code because of
it. */
arg = last_parm;
warning ("second parameter of %<va_start%> not last named argument");
}