[Bug fortran/47054] Compilation error when cray pointers are declared in both host and internal subroutines
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 3 22:39:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47054
--- Comment #4 from kargl at gcc dot gnu.org 2011-01-03 22:39:37 UTC ---
Reduced testcase.
subroutine host_sub
implicit none
real xg
pointer (paxg, xg)
call internal_sub
contains
subroutine internal_sub
implicit none
real xg
pointer (paxg, xg)
end subroutine internal_sub
end subroutine host_sub
It seems that gfortran is getting confused
by host association, the symbol names, and
the pointer() in internal_sub.
More information about the Gcc-bugs
mailing list