------- Additional Comments From tow21 at cam dot ac dot uk 2005-05-06 13:21 ------- (In reply to comment #5) > In the Fortran 77 standard (ANSI X3.9-1978) I could not find any sentence that > indicates that a SAVE statement without a list cannot appear in the same program > unit as a SAVE statement with a list of variables. > [snip] > Please be more specific if you think that I am wrong. Please see the thread on the gfortran mailing list, starting at <URL:http://gcc.gnu.org/ml/fortran/2005-03/msg00372.html> The definitive answer is probably Richard Maine's at: <URL:http://gcc.gnu.org/ml/fortran/2005-03/msg00410.html> In brief, the code is almost certainly illegal - but since g77 compiles it (as do several other compilers), it is a clear regression for gfortran to not allow its compilation (albeit not under -std=f95)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19425