https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84992
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #0) > > But the first question here is: is this a valid openacc program? > > Given that function static variables are not supported in functions to which > a routine directive applies, are function static variables supported in > parallel regions, or not? > > If not, we should emit a proper error message. > > If so, we should implement the required semantics. With the PGI compiler, we can compile and run the program.