https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120047
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |118859 Summary|[OpenMP] adjust_args with |[OpenMP] adjust_args with |Fortran 'optional |Fortran 'optional' and C++ | |'reference to pointer type' --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- At least once PR118859 is fixed, the following remains to be done: * 'dispatch' with 'has_device_addr' clause → add test cases (there are none checking that it actually works, while there are already relataed tests) * The Fortran 'optional' argument is currently rejected → https://gcc.gnu.org/pipermail/gcc-patches/2025-April/682347.html Support for it should be added. In particular, passing an absent argument through should work, if the dummy argument is an array descriptor. * C++ reference to pointer type has to be implemented (currently: sorry) Note that need_device_addr and need_device_ptr are *not* identical as one relates to the the address of the reference variable and the other to the address of the memory that reference variable points to. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118859 [Bug 118859] [OpenMP] dispatch accepts non-pointer template argument with adjust_args