Hi!

On Tue, 23 May 2017 12:40:06 +0200, Jakub Jelinek <ja...@redhat.com> wrote:
> On Fri, May 19, 2017 at 03:46:53PM +0200, Thomas Schwinge wrote:
> > > > -  /* OpenMP clause: default.  */
> > > > +  /* OpenACC clause: default ( none | present ).
> > > > +
> > > > +     OpenMP clause: default ( firstprivate | none | private | shared 
> > > > ). */
> > > >    OMP_CLAUSE_DEFAULT,
> > > >  
> > > >    /* OpenACC/OpenMP clause: collapse (constant-integer-expression).  */
> > > 
> > > I think this hunk isn't needed (plus it is not accurate anyway).
> > 
> > Now you got me curious: why isn't it accurate?
> 
> Because the clause in OpenMP is default ( shared | none ) for C/C++
> and default ( private | firstprivate | shared | none ) for Fortran.

So, the union of the C/C++ and Fortran variants is "private |
firstprivate | shared | none", and sorting these alphabetically, you'd
get "firstprivate | none | private | shared" as I posted?  Anyway, no
point on spending more time on this.  ;-)


Grüße
 Thomas

Reply via email to