fortran/
commit3d5987f4635e3eaba951180b6caecd4cdf5ad18a
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Oct 2005 08:55:55 +0000 (15 08:55 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Oct 2005 08:55:55 +0000 (15 08:55 +0000)
tree0377ae0bcc2d6528d0fa74da17d461580d9a3bdd
parent10d9b5124fe1d38b42bdcbb41e80f86615440d47
fortran/
* openmp.c (gfc_match_omp_variable_list): Add ALLOW_COMMON argument.
Disallow COMMON matching if it is set.
(gfc_match_omp_clauses, gfc_match_omp_flush): Adjust all callers.
(resolve_omp_clauses): Show locus in error messages.  Check that
variable types in reduction clauses are appropriate for reduction
operators.
gcc/testsuite/
* gfortran.dg/gomp/reduction1.f90: New test.
libgomp/
* testsuite/libgomp.fortran/character2.f90: Remove explicit
declaration of omp_get_thread_num.
* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
use omp_lib.

* testsuite/libgomp.fortran/reduction1.f90: New test.
* testsuite/libgomp.fortran/reduction2.f90: New test.
* testsuite/libgomp.fortran/reduction3.f90: New test.
* testsuite/libgomp.fortran/reduction4.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-20050608-branch@105434 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog.gomp
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog.gomp
gcc/testsuite/gfortran.dg/gomp/reduction1.f90 [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/character2.f90
libgomp/testsuite/libgomp.fortran/reduction1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/reduction2.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/reduction3.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/reduction4.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/threadprivate1.f90