This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Subcodes for OMP_CLAUSE_*. Fortran version.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 26 Jan 2006 16:14:59 -0500
- Subject: Re: Subcodes for OMP_CLAUSE_*. Fortran version.
- References: <43D939F9.3070107@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jan 26, 2006 at 04:07:05PM -0500, Diego Novillo wrote:
> I will need this after merging mainline into gomp. This adapts the
> Fortran bits to use the new OMP_CLAUSE_* subcodes.
>
> Jakub, is it safe to do what I suggested in the FIXME note I'm adding
> with the patch? gfc_trans_omp_reduction_list does not seem to need the
> CODE parameter. It always builds an OMP_CLAUSE_REDUCTION.
Yeah, just nuke that argument and adjust caller.
The argument was there just because previously it used
gfc_trans_omp_variable_list even for reductions.
> Tested on x86. OK for gomp?
Yes.
Jakub