------- Comment #1 from pault at gcc dot gnu dot org 2009-12-29 18:09 ------- (In reply to comment #0) I believe that this code is doubly invalid: (i) You cannot have an automatic array in the main program; and (ii) An automatic array cannot have an initialization expression.
Both g95 and ifort report one or both of the errors. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42359