[gomp] Fix array REDUCTION with -fbounds-check (PR fortran/27446)

Steve Kargl sgk@troutmask.apl.washington.edu
Sat May 13 16:47:00 GMT 2006


On Fri, May 12, 2006 at 12:03:08PM -0400, Jakub Jelinek wrote:
> 
> gimplify.c relies on OMP_CLAUSE_REDUCTION_{INIT,MERGE} being BIND_EXPRs,
> so this patch just ensures that.
> Ok for trunk?
> 
> 2006-05-12  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR fortran/27446
> 	* trans-openmp.c (gfc_trans_omp_array_reduction): Ensure
> 	OMP_CLAUSE_REDUCTION_{INIT,MERGE} are set to BIND_EXPR.
> 

The patch looks OK to me.  Of course, you're our Fortran OMP
expert. :-)

-- 
Steve



More information about the Gcc-patches mailing list