program struct REAL , POINTER :: RD(:,:) =>NULL()
ALLOCATE(RD(10,10)) Compile with gfortran -g struct.f90 The Dwarf output for RD leads to: <1><10d>: Abbrev Number: 5 (DW_TAG_pointer_type) DW_AT_byte_size : 4 -- there should be a type in there (there is with most other compilers..) -- otherwise we have to interpret RD as Void* instead of double*. -- Summary: Pointers not given target type in GFORTRAN Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: david at allinea dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30249