]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Adjust 'libgomp.oacc-c-c++-common/static-variable-1.c'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 13 Aug 2021 08:23:30 +0000 (10:23 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 13 Aug 2021 20:53:58 +0000 (22:53 +0200)
... for 'gcc/gimplify.c:gimplify_scan_omp_clauses' changes in recent
commit d0befed793b94f3f407be44e6f69f81a02f5f073 "openmp: Add support
for OpenMP 5.1 masked construct".

libgomp/
* testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: Adjust.

libgomp/testsuite/libgomp.oacc-c-c++-common/static-variable-1.c

index ceb2c88d3e5cbf82b7550f2fab00ebe28cb06756..69df0a6dd1d48333b9db9f8a75640c13ec18b6e0 100644 (file)
@@ -298,7 +298,10 @@ static void t2(void)
 
 #pragma acc data \
   copy(results_1, results_2, results_3)
-  /* { dg-note {variable 'i' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target *-*-* } .-2 } */
+  /* { dg-note {variable 'num_gangs_request_1\.[0-9]+' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target { c && { ! __OPTIMIZE__ } } } .-2 } */
+  /* { dg-note {variable 'num_gangs_request_2\.[0-9]+' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target { c && { ! __OPTIMIZE__ } } } .-3 } */
+  /* { dg-note {variable 'num_gangs_request_3\.[0-9]+' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target { c && { ! __OPTIMIZE__ } } } .-4 } */
+  /* { dg-note {variable 'i' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target *-*-* } .-5 } */
   {
     for (int i = 0; i < i_limit; ++i)
       {