]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix warning syntax and typos in two libgomp tests
authorJulian Brown <julian@codesourcery.com>
Mon, 20 May 2019 23:31:41 +0000 (16:31 -0700)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 9 Jun 2020 22:31:57 +0000 (15:31 -0700)
libgomp/
* testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: Expect
"optimized:" not "note:" in warnings.

libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c

index 0901a4cd3f599c5213a0ebf776d4d768a5dbae4f..2f8672fd9f2c127455edf4c019a04085c1a9b269 100644 (file)
@@ -1,3 +1,8 @@
+2019-05-20  Julian Brown  <julian@codesourcery.com>
+
+       * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: Expect
+       "optimized:" not "note:" in warnings.
+
 2018-10-04  Cesar Philippidis  <cesar@codesourcery.com>
            Julian Brown  <julian@codesourcery.com>
 
index bf58a139d3adfafd47b08ff37fdeff74dd36cf62..45d786d81dffa6f5e295c5c31cf92df61539385a 100644 (file)
@@ -11,14 +11,14 @@ int main()
 
 #pragma acc kernels
   {
-    int c = 234; /* { dg-warning "note: beginning .gang-single. region in OpenACC .kernels. construct" } */
+    int c = 234; /* { dg-warning "optimized: beginning .gang-single. region in OpenACC .kernels. construct" } */
 
-#pragma acc loop independent gang /* { dg-warning "note: assigned OpenACC gang loop parallelism" } */
-    /* { dg-warning "note: parallelized loop nest in OpenACC .kernels. construct" "" { target *-*-* } 16 } */
+#pragma acc loop independent gang /* { dg-warning "optimized: assigned OpenACC gang loop parallelism" } */
+    /* { dg-warning "optimized: parallelized loop nest in OpenACC .kernels. construct" "" { target *-*-* } 16 } */
     for (int i = 0; i < N; ++i)
       b[i] = c;
 
-    a = c; /* { dg-warning "note: beginning .gang-single. region in OpenACC .kernels. construct" } */
+    a = c; /* { dg-warning "optimized: beginning .gang-single. region in OpenACC .kernels. construct" } */
   }
 
   for (int i = 0; i < N; ++i)