OSDN Git Service

PR fortran/27395
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 May 2006 12:51:33 +0000 (12:51 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 May 2006 12:51:33 +0000 (12:51 +0000)
commit0f9d10d4176bb57e4335378c03ba7db6d55441e4
tree5d4261cec1895613e4c02fd637f62bdfa2874e9b
parent4bef19cc49ffafbe2c840058c28ef7576d3b67f7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113494 138bc75d-0d04-0410-961f-82ee72b054a4
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]