diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/builtins.c | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e889dbc..8db2947 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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"); } |