This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] Fix reduction(-:var)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Diego Novillo <dnovillo at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Nov 2005 15:57:31 -0800
- Subject: Re: [gomp] Fix reduction(-:var)
- References: <20051117235227.GP16034@devserv.devel.redhat.com>
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~