2007-09-23 Razya Ladelsky
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
This commit is contained in:
parent
a509ebb5a1
commit
e19149bfb0
|
@ -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
|
||||
|
||||
|
|
|
@ -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" } }
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
Loading…
Reference in New Issue