This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: suggestion about g77
Paul Brook <paul@codesourcery.com> writes:
>> I think I can find some more mutually exclusives for f77/f[90,95]
>
> I would be interested in seeing these.
One of them is described in PR 19425 (briefly - F77 allows explicit save
statements for variables in the same scope as a global statement; F95
specifically forbids it.)
In this case, though, most compilers will let the duplicate save through and
only give an error on -std=f95 (or however that's spelt for each compiler). I
think gfortran should probably follow this convention.
Toby
--
Dr. Toby White
Dept. of Earth Sciences, Downing Street, Cambridge CB2 3EQ. UK
Email: <tow21@cam.ac.uk>