https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103276
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |openacc --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- I only have GCC mainline at hand - and there it did not fail when adding: use REPRO type(simple) :: var call COPYIN_SIMPLE(var) end This might be by chance, it could be fixed in mainline - or your example is too much simplified. At least as is it cannot fail as there is no main program but just a module. I think a complete example would help. Or you confirm that it will fail as shown after adding the 4 lines above...