------- Comment #5 from burnus at gcc dot gnu dot org 2008-09-04 20:02 ------- (In reply to comment #4) > DIMENSION x(:) > (if that's a legal way to specify DIMENSION, I'm not sure)?
"dimension(:)" is only valid for (a) dummy arguments or (b) allocatable/pointer; but with "(5)" instead of "(:)" all examples compile with all my compilers, including the picky NAG f95, which indicates that the last example is probably valid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36746