aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-12-05 14:18:18 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-12-05 14:18:18 +0000
commit118f3b19a39403f6b9391ff9f89a38e8248f43f9 (patch)
tree2758051018cafb52cd404bd1ca4228d51f41e15f /gcc/builtins.c
parent91373fe8f7f94b846d06ada9bd3766b694eebc4f (diff)
downloadgcc-118f3b19a39403f6b9391ff9f89a38e8248f43f9.zip
gcc-118f3b19a39403f6b9391ff9f89a38e8248f43f9.tar.gz
gcc-118f3b19a39403f6b9391ff9f89a38e8248f43f9.tar.bz2
* builtins.c: Fix comment typos.
From-SVN: r91749
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 7dbfb20..7b4ef52 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -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");
}