This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] Fix reduction(-:var)


On Thu, Nov 17, 2005 at 06:52:27PM -0500, Jakub Jelinek wrote:
> 	* omp-low.c (expand_reduction_clauses): Use PLUS_EXPR operation
> 	for MINUS_EXPR OMP_CLAUSE_REDUCTION_CODE.
> fortran/
> 	* trans-openmp.c (gfc_trans_omp_array_reduction): Use gfc_add
> 	for MINUS_EXPR OMP_CLAUSE_REDUCTION_CODE.
> libgomp/
> 	* testsuite/libgomp.fortran/reduction1.f90: Adjust for
> 	reduction(-:var) behaving the same as reduction(+:var).
> 	* testsuite/libgomp.c/reduction-4.c: New test.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]