[PATCH v3 08/12] OpenMP: Reject other properties with kind(any)

Jakub Jelinek jakub@redhat.com
Mon Sep 9 21:10:31 GMT 2024


On Mon, Sep 09, 2024 at 02:55:25PM -0600, Sandra Loosemore wrote:
> On 9/9/24 05:01, Jakub Jelinek wrote:
> > 
> > I think also testing the device={kind(any,any)} and device={kind("any",any)}
> > and device={kind(any,"any"))} would be useful.
> 
> Hmmm, it looks like GCC does not presently check for the restriction
> 
> "Each trait-property may only be specified once in a trait selector other
> than those in the construct selector set."

Seems that restriction is new in 5.1 (which is why it hasn't been checked in
the original code).

	Jakub



More information about the Gcc-patches mailing list