https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71705

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
Compiles with save status :

$ cat z2.f90
subroutine s
   real, save :: x
   !!$omp declare target(x)
   x = 0.0
   !$omp target update to(x)
   !$omp target
   x = x + 1.0
   !$omp end target
end

Reply via email to