Hi!

These tests were expecting 5 loopfn matches, 3 on the fn definition, one
as GOMP_parallel_start argument and one called in between
GOMP_parallel_start and GOMP_parallel_end.  But the new API is
to call GOMP_parallel with the function and not call the outlined
function nor GOMP_parallel_end directly, GOMP_parallel will call it
indirectly.

2013-10-08  Jakub Jelinek  <ja...@redhat.com>

        * gcc.dg/autopar/outer-1.c: Expect 4 instead of 5 loopfn matches.
        * gcc.dg/autopar/outer-2.c: Likewise.
        * gcc.dg/autopar/outer-3.c: Likewise.
        * gcc.dg/autopar/outer-4.c: Likewise.
        * gcc.dg/autopar/outer-5.c: Likewise.
        * gcc.dg/autopar/outer-6.c: Likewise.
        * gcc.dg/autopar/parallelization-1.c: Likewise.

--- gcc/testsuite/gcc.dg/autopar/outer-1.c.jj   2013-03-20 10:06:18.000000000 
+0100
+++ gcc/testsuite/gcc.dg/autopar/outer-1.c      2013-10-08 17:18:55.710385102 
+0200
@@ -28,6 +28,6 @@ int main(void)
 
 /* Check that outer loop is parallelized.  */
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" } 
} */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
--- gcc/testsuite/gcc.dg/autopar/outer-2.c.jj   2013-03-20 10:06:18.000000000 
+0100
+++ gcc/testsuite/gcc.dg/autopar/outer-2.c      2013-10-08 17:18:57.659374373 
+0200
@@ -28,6 +28,6 @@ int main(void)
 }
 
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" } 
} */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
--- gcc/testsuite/gcc.dg/autopar/outer-3.c.jj   2013-03-20 10:06:18.000000000 
+0100
+++ gcc/testsuite/gcc.dg/autopar/outer-3.c      2013-10-08 17:18:59.151368202 
+0200
@@ -28,6 +28,6 @@ int main(void)
 
 /* Check that outer loop is parallelized.  */
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" } 
} */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
--- gcc/testsuite/gcc.dg/autopar/outer-4.c.jj   2013-03-20 10:06:18.000000000 
+0100
+++ gcc/testsuite/gcc.dg/autopar/outer-4.c      2013-10-08 17:19:00.700358700 
+0200
@@ -32,6 +32,6 @@ int main(void)
 
 
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" { 
xfail *-*-* } } } */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
--- gcc/testsuite/gcc.dg/autopar/outer-5.c.jj   2013-03-20 10:06:18.000000000 
+0100
+++ gcc/testsuite/gcc.dg/autopar/outer-5.c      2013-10-08 17:19:02.402350051 
+0200
@@ -45,6 +45,6 @@ int main(void)
 }
 
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" { 
xfail *-*-* } } } */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
--- gcc/testsuite/gcc.dg/autopar/outer-6.c.jj   2013-03-20 10:06:18.000000000 
+0100
+++ gcc/testsuite/gcc.dg/autopar/outer-6.c      2013-10-08 17:19:04.018341866 
+0200
@@ -46,6 +46,6 @@ int main(void)
 /* Check that outer loop is parallelized.  */
 /* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" } 
} */
 /* { dg-final { scan-tree-dump-times "parallelizing inner loop" 0 "parloops" } 
} */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
--- gcc/testsuite/gcc.dg/autopar/parallelization-1.c.jj 2013-03-20 
10:06:18.000000000 +0100
+++ gcc/testsuite/gcc.dg/autopar/parallelization-1.c    2013-10-08 
17:19:05.733331280 +0200
@@ -28,6 +28,6 @@ int main(void)
 /* Check that the first loop in parloop got parallelized.  */
 
 /* { dg-final { scan-tree-dump-times "SUCCESS: may be parallelized" 1 
"parloops" } } */
-/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "parloops" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */

        Jakub

Reply via email to