Commit 118f3b19 by Kazu Hirata Committed by Kazu Hirata

* builtins.c: Fix comment typos.

From-SVN: r91749
parent 91373fe8
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> 2004-12-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/18730 PR middle-end/18730
......
...@@ -8653,7 +8653,7 @@ fold_builtin_fputs (tree arglist, bool ignore, bool unlocked, tree len) ...@@ -8653,7 +8653,7 @@ fold_builtin_fputs (tree arglist, bool ignore, bool unlocked, tree len)
return build_function_call_expr (fn, arglist); 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 produced. False otherwise. This is done so that we don't output the error
or warning twice or three times. */ or warning twice or three times. */
bool bool
...@@ -8684,9 +8684,11 @@ fold_builtin_next_arg (tree arglist) ...@@ -8684,9 +8684,11 @@ fold_builtin_next_arg (tree arglist)
arg = TREE_OPERAND (arg, 0); arg = TREE_OPERAND (arg, 0);
if (arg != last_parm) if (arg != last_parm)
{ {
/* FIXME: Sometimes with the tree optimizaters we can get the not the last argument /* FIXME: Sometimes with the tree optimizers we can get the
even though the user used the last argument. We just warn and set the arg to be not the last argument even though the user used the last
the last argument so that we will get wrong-code because of it. */ 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; arg = last_parm;
warning ("second parameter of %<va_start%> not last named argument"); warning ("second parameter of %<va_start%> not last named argument");
} }
......
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