+2011-02-27 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/47886
+ * gfortran.dg/gomp/task-1.f90: Removed.
+
2011-02-26 Jason Merrill <jason@redhat.com>
* g++.dg/template/this-targ1.C: New.
+++ /dev/null
-! { dg-do compile }
-! { dg-options "-fopenmp" }
-!
-! PR fortran/47886
-!
-! Test case contributed by Bill Long
-
-! derived from OpenMP test OMP3f/F03_2_7_1d.F90
-program F03_2_7_1d
- use omp_lib
- implicit none
- integer, parameter :: NT = 4
- integer :: sum = 0
-
- call omp_set_num_threads(NT);
-
- !$omp parallel
- !$omp task if(omp_get_num_threads() > 0)
- !$omp atomic
- sum = sum + 1
- !$omp end task
- !$omp end parallel
- if (sum /= NT) then
- print *, "FAIL - sum == ", sum, " (expected ", NT, ")"
- stop 1;
- end if
-end program F03_2_7_1d
+2011-02-27 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/47886
+ * testsuite/libgomp.fortran/task3.f90: New test.
+
2011-02-24 Tobias Burnus <burnus@net-b.de>
* libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE.
--- /dev/null
+! { dg-do run }
+! { dg-options "-fopenmp" }
+!
+! PR fortran/47886
+!
+! Test case contributed by Bill Long
+
+! derived from OpenMP test OMP3f/F03_2_7_1d.F90
+program F03_2_7_1d
+ use omp_lib
+ implicit none
+ integer, parameter :: NT = 4
+ integer :: sum = 0
+
+ call omp_set_num_threads(NT);
+
+ !$omp parallel
+ !$omp task if(omp_get_num_threads() > 0)
+ !$omp atomic
+ sum = sum + 1
+ !$omp end task
+ !$omp end parallel
+ if (sum /= NT) then
+ print *, "FAIL - sum == ", sum, " (expected ", NT, ")"
+ call abort
+ end if
+end program F03_2_7_1d