diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/builtin-prefetch-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/builtin-prefetch-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/builtin-prefetch-1.c b/gcc/testsuite/gcc.dg/builtin-prefetch-1.c index 11beb4e..7f75353 100644 --- a/gcc/testsuite/gcc.dg/builtin-prefetch-1.c +++ b/gcc/testsuite/gcc.dg/builtin-prefetch-1.c @@ -8,7 +8,7 @@ extern void exit (int); enum locality { none, low, moderate, high, bogus }; -enum rw { read, write }; +enum rws { read, write, read-shared }; int arr[10]; @@ -29,7 +29,7 @@ void bad (int *p) { __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, 3, 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" } */ |