https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78260
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> --- FIXED on the trunk (GCC 10). Thanks for the report! Turned out that a tad more was requires as it also wrongly rejected function f() !$acc declare present(f) where "f" is both the function name and the result-variable name.