diff options
Diffstat (limited to 'gcc-4.4.3/libgomp/testsuite/libgomp.c/atomic-4.c')
-rw-r--r-- | gcc-4.4.3/libgomp/testsuite/libgomp.c/atomic-4.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc-4.4.3/libgomp/testsuite/libgomp.c/atomic-4.c b/gcc-4.4.3/libgomp/testsuite/libgomp.c/atomic-4.c deleted file mode 100644 index 10f8197b0..000000000 --- a/gcc-4.4.3/libgomp/testsuite/libgomp.c/atomic-4.c +++ /dev/null @@ -1,18 +0,0 @@ -/* PR middle-end/35611 */ -/* { dg-options "-O2" } */ - -extern void abort (void); - -int -main (void) -{ - long double d = .0L; - int i; - #pragma omp parallel for shared (d) - for (i = 0; i < 1000; i++) - #pragma omp atomic - d += 1.0L; - if (d != 1000.0L) - abort (); - return 0; -} |