[Bug middle-end/113067] [OpenMP][5.1] Context selector - handle 'implementation={requires(...)}'
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 5 13:44:14 GMT 2025
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'.
More information about the Gcc-bugs
mailing list