[Bug fortran/62278] gfc_check_dependency should also check for TARGET attribute
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 27 16:46:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62278
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Can you provide an example?
The simplistic case of
subroutine foo(p)
integer, save :: a(10)[*]
integer, pointer :: p(:)
p(:) = a(:)
end subroutine foo
ig25@linux-fd1f:~/Krempel/Point> gfortran -c -O -fcoarray=single
-Warray-temporaries foo.f90
doesn't triger anything.
More information about the Gcc-bugs
mailing list