aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/builtin-prefetch-1.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2004-11-09 10:20:12 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2004-11-09 10:20:12 +0000
commit40b97a2e299ebaf0147a1c46bb1c2d32326a108d (patch)
tree05970d78d689f30edbbaad225e26af3ab895962c /gcc/testsuite/gcc.dg/builtin-prefetch-1.c
parent9e637a26797c8ffa178974764874683f12b12d4d (diff)
downloadgcc-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/testsuite/gcc.dg/builtin-prefetch-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/builtin-prefetch-1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/builtin-prefetch-1.c b/gcc/testsuite/gcc.dg/builtin-prefetch-1.c
index f3429ee..11beb4e 100644
--- a/gcc/testsuite/gcc.dg/builtin-prefetch-1.c
+++ b/gcc/testsuite/gcc.dg/builtin-prefetch-1.c
@@ -28,12 +28,12 @@ good (int *p)
void
bad (int *p)
{
- __builtin_prefetch (p, -1, 0); /* { dg-warning "invalid second arg to '__builtin_prefetch'; using zero" } */
- __builtin_prefetch (p, 2, 0); /* { dg-warning "invalid second arg to '__builtin_prefetch'; using zero" } */
- __builtin_prefetch (p, bogus, 0); /* { dg-warning "invalid second arg to '__builtin_prefetch'; using zero" } */
- __builtin_prefetch (p, 0, -1); /* { dg-warning "invalid third arg to '__builtin_prefetch'; using zero" } */
- __builtin_prefetch (p, 0, 4); /* { dg-warning "invalid third arg to '__builtin_prefetch'; using zero" } */
- __builtin_prefetch (p, 0, bogus); /* { dg-warning "invalid third arg to '__builtin_prefetch'; using zero" } */
+ __builtin_prefetch (p, -1, 0); /* { dg-warning "invalid second argument to '__builtin_prefetch'; using zero" } */
+ __builtin_prefetch (p, 2, 0); /* { dg-warning "invalid second argument to '__builtin_prefetch'; using zero" } */
+ __builtin_prefetch (p, bogus, 0); /* { dg-warning "invalid second argument to '__builtin_prefetch'; using zero" } */
+ __builtin_prefetch (p, 0, -1); /* { dg-warning "invalid third argument to '__builtin_prefetch'; using zero" } */
+ __builtin_prefetch (p, 0, 4); /* { dg-warning "invalid third argument to '__builtin_prefetch'; using zero" } */
+ __builtin_prefetch (p, 0, bogus); /* { dg-warning "invalid third argument to '__builtin_prefetch'; using zero" } */
}
int