2007-09-23 Razya Ladelsky
authorRazya Ladelsky <razya@gcc.gnu.org>
Mon, 29 Oct 2007 11:09:09 +0000 (11:09 +0000)
committerRazya Ladelsky <razya@gcc.gnu.org>
Mon, 29 Oct 2007 11:09:09 +0000 (11:09 +0000)
    Zdenek Dvorak

OMP_ATOMIC expand testsuite related changes.

* testsuite/gcc.dg/gomp/atomic-3.c: Search for string on
ompexp dump instead of gimple dump.
* testsuite/gcc.dg/gomp/atomic-9.c: Same.
* testsuite/gcc.dg/gomp/atomic-10.c: Same.
* testsuite/g++.dg/gomp/atomic-3.C: Same.
* testsuite/g++.dg/gomp/atomic-9.C: Same.
* testsuite/g++.dg/gomp/atomic-10.C: Same.

From-SVN: r129717

gcc/ChangeLog
gcc/testsuite/g++.dg/gomp/atomic-10.C
gcc/testsuite/g++.dg/gomp/atomic-3.C
gcc/testsuite/g++.dg/gomp/atomic-9.C
gcc/testsuite/gcc.dg/gomp/atomic-10.c
gcc/testsuite/gcc.dg/gomp/atomic-3.c
gcc/testsuite/gcc.dg/gomp/atomic-9.c

index 04087012430f0f738c1f41cad12ae61f88e58698..309d865be6aefdfad5df93d693ff16c01ba74243 100644 (file)
@@ -1,3 +1,16 @@
+2007-09-23  Razya Ladelsky
+            Zdenek Dvorak
+
+        OMP_ATOMIC Changes, testsuite changes.
+
+       * testsuite/gcc.dg/gomp/atomic-3.c: Search for string on
+       ompexp dump instead of gimple dump.
+       * testsuite/gcc.dg/gomp/atomic-9.c: Same.
+       * testsuite/gcc.dg/gomp/atomic-10.c: Same.
+       * testsuite/g++.dg/gomp/atomic-3.C: Same.
+       * testsuite/g++.dg/gomp/atomic-9.C: Same.
+       * testsuite/g++.dg/gomp/atomic-10.C: Same.
+
 2007-09-23  Razya Ladelsky
             Zdenek Dvorak
 
index c8a25e2e384219aa78ae04b9717420b3413df47d..fe64f0f06313d483d3a9315bb0628f75d29c2056 100644 (file)
@@ -1,6 +1,6 @@
 // PR middle-end/28046
 // { dg-do compile }
-// { dg-options "-fopenmp -fdump-tree-gimple" }
+// { dg-options "-fopenmp -fdump-tree-ompexp" }
 
 int a[3], b;
 struct C { int x; int y; } c;
@@ -20,5 +20,5 @@ foo (void)
   *baz () += bar ();
 }
 
-// { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 4 "gimple" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } }
-// { dg-final { cleanup-tree-dump "gimple" } }
+// { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 4 "ompexp" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } }
+// { dg-final { cleanup-tree-dump "ompexp" } }
index 0c612a160612c3c252b89205ebb7a4b475b6bef3..7ea792d3457ff252fa88a1ae3164c9d8f9ed572f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
 
 int *xyzzy;
 
@@ -9,5 +9,5 @@ void f1(void)
     xyzzy++;
 }
 
-/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "gimple" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
-/* { dg-final { cleanup-tree-dump "gimple" } } */
+/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
+/* { dg-final { cleanup-tree-dump "ompexp" } } */
index 128e9df5e4aef5dbdc4ef4603884308554a05593..2fafbd4097a11defd370a2f1d8bda4fb6b777079 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
 
 volatile int *bar(void);
 
@@ -9,5 +9,5 @@ void f1(void)
     *bar() += 1;
 }
 
-/* { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 1 "gimple" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
-/* { dg-final { cleanup-tree-dump "gimple" } } */
+/* { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 1 "ompexp" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
+/* { dg-final { cleanup-tree-dump "ompexp" } } */
index bbb1ef052f825ab19293684ff884ed9cc15a96f1..936d0c1f22307ea92d837527913210a8050c543b 100644 (file)
@@ -1,6 +1,6 @@
 /* PR middle-end/28046 */
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
 
 int a[3], b;
 struct C { int x; int y; } c;
@@ -20,5 +20,5 @@ foo (void)
   *baz () += bar ();
 }
 
-/* { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 4 "gimple" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
-/* { dg-final { cleanup-tree-dump "gimple" } } */
+/* { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 4 "ompexp" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
+/* { dg-final { cleanup-tree-dump "ompexp" } } */
index 0c612a160612c3c252b89205ebb7a4b475b6bef3..7ea792d3457ff252fa88a1ae3164c9d8f9ed572f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
 
 int *xyzzy;
 
@@ -9,5 +9,5 @@ void f1(void)
     xyzzy++;
 }
 
-/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "gimple" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
-/* { dg-final { cleanup-tree-dump "gimple" } } */
+/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
+/* { dg-final { cleanup-tree-dump "ompexp" } } */
index 128e9df5e4aef5dbdc4ef4603884308554a05593..2fafbd4097a11defd370a2f1d8bda4fb6b777079 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
 
 volatile int *bar(void);
 
@@ -9,5 +9,5 @@ void f1(void)
     *bar() += 1;
 }
 
-/* { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 1 "gimple" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
-/* { dg-final { cleanup-tree-dump "gimple" } } */
+/* { dg-final { scan-tree-dump-times "__sync_fetch_and_add" 1 "ompexp" { target i?86-*-* x86_64-*-* ia64-*-* powerpc*-*-* alpha*-*-* } } } */
+/* { dg-final { cleanup-tree-dump "ompexp" } } */