------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-20 14:04 ------- IF(SIZE(a(1:10),1).NE.10) CALL ABORT() 1 Error: 'dim' argument of 'size' intrinsic at (1) is not a valid dimension index
Compiles just fine with ifort, nagf95 and g95. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2007-02-20 14:04:36 date| | Summary|incorrect error message for |size with initialization |valid code |expression value for dim= is | |rejected http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30882