This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47054] Compilation error when cray pointers are declared in both host and internal subroutines


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]