https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92920
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- Created attachment 47482 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47482&action=edit Draft patch – does not handle firstprivate(<absent optional>) This is a rather complete patch – but it currently fails if firstprivate gets an absent optional argument. Test case: 'ii' of sub2 of libgomp/testsuite/libgomp.fortran/optional-map.f90