[PATCH] fortran/25106 -- Statement labels are nonzero.
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Nov 27 17:07:00 GMT 2005
On Sun, Nov 27, 2005 at 05:59:10PM +0100, FX Coudert wrote:
> >This patch converts the warning into an error if the new
> >-fstatement-label-0 flag is not given.
>
> Urk. Do we really need to introduce Yet Another Flag? This is forbidden
> by the standard, so can we have an error on std=f95 and a warning otherwise?
>
Without -fstatement-label-0, it is an error. Period.
The flag is provided solely for potentially old, moldy,
buggy code.
Hmmm. I just checked the Fortran 77 standard. A 0
statement label was probihited there. I'll remove the
option and make this a hard error.
--
Steve
More information about the Fortran
mailing list