]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/27395 (Problem with arrays in the OpenMP REDUCTION clause in Fortran)
authorJakub Jelinek <jakub@redhat.com>
Wed, 3 May 2006 12:51:33 +0000 (14:51 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 May 2006 12:51:33 +0000 (14:51 +0200)
commit693d710f2ad03341b24d45d1b2ab75533d67687e
tree5d4261cec1895613e4c02fd637f62bdfa2874e9b
parent832a0c1d090950cef0735c66b16955944b063579
re PR fortran/27395 (Problem with arrays in the OpenMP REDUCTION clause in Fortran)

PR fortran/27395
* gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
rather than TREE_CODE to OMP_CLAUSE_REDUCTION.  Set also GOVD_SEEN
bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.

* testsuite/libgomp.fortran/pr27395-1.f90: New test.
* testsuite/libgomp.fortran/pr27395-2.f90: New test.

From-SVN: r113494
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/pr27395-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/pr27395-2.f90 [new file with mode: 0644]
This page took 0.052093 seconds and 5 git commands to generate.