https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113067

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandra at gcc dot gnu.org

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
GCC now supports both
   implementation={requires(<requirement>)}
and
   implementation={<requirement>}

but both fail with a sorry.


Rather stupid examples:

    5 |  !$omp metadirective when(implementation={requires(self_maps)} :
allocate(x) align(128)) otherwise(nothing)
      |                                                   1
sorry, unimplemented: ‘requires’ selector is not supported yet

AND

    3 |  !$omp metadirective when(implementation={self_maps} : allocate(x)
align(128)) otherwise(nothing)
      |                                                                        
    1
sorry, unimplemented: declarative directive variants are not supported


BTW: The last error is bogus as 'requires' is not declarative but in 'Category:
informational'.

Reply via email to