Howdy, the subject says it all:
% cat gfcbug34.f90 subroutine gfcbug34 () implicit none type t integer, pointer :: i (:) => NULL () end type t type(t), save :: gf write(*,*) 'ubound:', ubound (gf% i) write(*,*) 'lbound:', lbound (gf% i) end subroutine gfcbug34 % gfc -c gfcbug34.f90 gfcbug34.f90: In function 'gfcbug34': gfcbug34.f90:9: fatal error: gfc_todo: Not Implemented: Unable to determine rank of expression compilation terminated. Cheers, -ha -- Summary: gfc_todo: Not Implemented: Unable to determine rank of expression Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at gmx dot de GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26834