Adjust test cases for attributes propagation changes for OMP outlined regions
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 4 Oct 2017 11:13:24 +0000 (13:13 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 4 Oct 2017 11:13:24 +0000 (13:13 +0200)
PR tree-optimization/82374
* c-c++-common/goacc/kernels-double-reduction-n.c: Adjust for
attributes propagation changes for OMP outlined regions.
* c-c++-common/goacc/kernels-double-reduction.c: Likewise.
* c-c++-common/goacc/kernels-reduction.c: Likewise.

From-SVN: r253402

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/kernels-double-reduction-n.c
gcc/testsuite/c-c++-common/goacc/kernels-double-reduction.c
gcc/testsuite/c-c++-common/goacc/kernels-reduction.c

index 2c96f3af4e6ffa157904c80f254366baa6fe0379..4ac50d030836b17714870f5935ec846b4c883478 100644 (file)
@@ -1,3 +1,11 @@
+2017-10-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       PR tree-optimization/82374
+       * c-c++-common/goacc/kernels-double-reduction-n.c: Adjust for
+       attributes propagation changes for OMP outlined regions.
+       * c-c++-common/goacc/kernels-double-reduction.c: Likewise.
+       * c-c++-common/goacc/kernels-reduction.c: Likewise.
+
 2017-10-04  Richard Sandiford  <richard.sandiford@linaro.org>
 
        PR tree-optimization/82413
index 27ea2e98a32b0c8ff73ec0b8be6f5829d11e0d0b..10b364b367c00b7071ec39e0a08c45c596757e21 100644 (file)
@@ -27,7 +27,7 @@ foo (unsigned int n)
 
 /* Check that only one loop is analyzed, and that it can be parallelized.  */
 /* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 1 "parloops1" } } */
-/* { dg-final { scan-tree-dump-times "(?n)__attribute__\\(\\(oacc kernels parallelized, oacc function \\(, , \\), oacc kernels, omp target entrypoint\\)\\)" 1 "parloops1" } } */
+/* { dg-final { scan-tree-dump-times "(?n)__attribute__\\(\\(oacc kernels parallelized, oacc function \\(, , \\), oacc kernels, omp target entrypoint, noclone, noinline\\)\\)" 1 "parloops1" } } */
 /* { dg-final { scan-tree-dump-not "FAILED:" "parloops1" } } */
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops1" } } */
 
index 0841e9049d03fff7d5942c11f22f8ac5c97e011a..c0263460c1dcd0c7c4dc28aee52bb701ad50af70 100644 (file)
@@ -27,7 +27,7 @@ foo (void)
 
 /* Check that only one loop is analyzed, and that it can be parallelized.  */
 /* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 1 "parloops1" } } */
-/* { dg-final { scan-tree-dump-times "(?n)__attribute__\\(\\(oacc kernels parallelized, oacc function \\(, , \\), oacc kernels, omp target entrypoint\\)\\)" 1 "parloops1" } } */
+/* { dg-final { scan-tree-dump-times "(?n)__attribute__\\(\\(oacc kernels parallelized, oacc function \\(, , \\), oacc kernels, omp target entrypoint, noclone, noinline\\)\\)" 1 "parloops1" } } */
 /* { dg-final { scan-tree-dump-not "FAILED:" "parloops1" } } */
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops1" } } */
 
index 4a18272db20e48f0333ca446ef33bb73cf68f693..5921b88920fd8091bd90d68cf32b41c7e11fb7ae 100644 (file)
@@ -26,7 +26,7 @@ foo (void)
 
 /* Check that only one loop is analyzed, and that it can be parallelized.  */
 /* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 1 "parloops1" } } */
-/* { dg-final { scan-tree-dump-times "(?n)__attribute__\\(\\(oacc kernels parallelized, oacc function \\(, , \\), oacc kernels, omp target entrypoint\\)\\)" 1 "parloops1" } } */
+/* { dg-final { scan-tree-dump-times "(?n)__attribute__\\(\\(oacc kernels parallelized, oacc function \\(, , \\), oacc kernels, omp target entrypoint, noclone, noinline\\)\\)" 1 "parloops1" } } */
 /* { dg-final { scan-tree-dump-not "FAILED:" "parloops1" } } */
 
 /* Check that the loop has been split off into a function.  */