[Bug fortran/27395] Problem with arrays in the OpenMP REDUCTION clause in Fortran
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 3 12:51:00 GMT 2006
------- Comment #2 from jakub at gcc dot gnu dot org 2006-05-03 12:51 -------
Subject: Bug 27395
Author: jakub
Date: Wed May 3 12:51:33 2006
New Revision: 113494
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113494
Log:
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.
Added:
trunk/libgomp/testsuite/libgomp.fortran/pr27395-1.f90
trunk/libgomp/testsuite/libgomp.fortran/pr27395-2.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27395
More information about the Gcc-bugs
mailing list