SUBROUTINE Eval(mind,p) INTEGER :: mind REAL, DIMENSION(mind:) :: p p(mind)=0 END SUBROUTINE Eval
Works with g95 Fails with : GNU Fortran 95 (GCC 4.1.0 20050517 (experimental)) downloaded from http://gcc.gnu.org/wiki/GFortranBinaries -- Summary: ICE on assumed-shape array with lower bound given by a dummy argument Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dubos at lmd dot polytechnique dot fr CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: gcc version 4.1.0 20050517 GCC host triplet: i386-linux GCC target triplet: i386-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21622