[Patch, fortran] PR19262 more than thirty-nine continuation lines should issue a std-warn
Jerry DeLisle
jvdelisle@verizon.net
Sun Sep 24 01:44:00 GMT 2006
Manfred Schwarb wrote:
> Jerry,
>
>> Going into this patch I took the view that gfortran is primarily a
>> Fortran 95 compiler with F2003 features. So I thought the default
>> behavior should be the least restrictive of the two with 255 for free
>> form.
>
> If you do this, you build up a regression vs. g77.
> g77 does not enforce any restrictions concerning the number of
> continuation lines, you can do even more than 255 continuations, even
> without any warnings.
>
> So the default behaviour (-std=gnu) should be to enforce no limits.
> For me, the scheme FX proposed is the only one that makes sense,
> modulo the differentation between fixed and free.
>
What I said was not what I meant. What I meant by default was the default
restrictive case, otherwise the limits are ignored. I am gathering from all
this discussion that all that is really needed is a warning when the limit is
exceeded and there is no need for an error.
I will wait for any other comments, before continuing.
Jerry
More information about the Fortran
mailing list