https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779
--- Comment #13 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #11) > (In reply to Thomas Schwinge from comment #1) > > Same for OpenACC ('!$acc parallel copyout(v)'). > > > > > > Thsi sounds similar to PR85063, > > <http://mid.mail-archive.com/9e02d449-0c4a-88a8-0aac-1d353d321b74@mentor. > > com> "[PATCH, PR85063] Fix switch conversion in offloading functions". > > There is a certain difference. There, switch conversion introduces a static > var, while there is none in the source. > Oops, I just read in comment 0 "Fortran front-end is creating a local static array", so you're right, this is similar.