diff options
author | Joseph Myers <joseph@codesourcery.com> | 2004-11-09 10:20:12 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-09 10:20:12 +0000 |
commit | 40b97a2e299ebaf0147a1c46bb1c2d32326a108d (patch) | |
tree | 05970d78d689f30edbbaad225e26af3ab895962c /gcc/c-decl.c | |
parent | 9e637a26797c8ffa178974764874683f12b12d4d (diff) | |
download | gcc-40b97a2e299ebaf0147a1c46bb1c2d32326a108d.zip gcc-40b97a2e299ebaf0147a1c46bb1c2d32326a108d.tar.gz gcc-40b97a2e299ebaf0147a1c46bb1c2d32326a108d.tar.bz2 |
builtins.c, [...]: Say "argument" instead of "arg" in diagnostics.
* builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
instead of "arg" in diagnostics.
testsuite:
* gcc.dg/builtin-prefetch-1.c: Update expected diagnostic.
From-SVN: r90338
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index d30b24a..f5bc6e5 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1063,7 +1063,8 @@ validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype) for the arg. */ else if (!comptypes (oldargtype, newargtype)) { - error ("%Jprototype for %qD declares arg %d with incompatible type", + error ("%Jprototype for %qD declares argument %d" + " with incompatible type", newdecl, newdecl, i); return false; } |