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 0408701..309d865 100644 (file)
@@ -1,6 +1,19 @@
 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
+
         OMP_ATOMIC Changes,
         Reduction support for automatic parallelization.
 
index c8a25e2..fe64f0f 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 0c612a1..7ea792d 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 128e9df..2fafbd4 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 bbb1ef0..936d0c1 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 0c612a1..7ea792d 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 128e9df..2fafbd4 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" } } */