[Committed] PR fortran/90985 -- DATA must be followed by whitespace

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Committed] PR fortran/90985 -- DATA must be followed by whitespace

Steve Kargl
In free-form source code, DATA must be followed by whitespace.
This patch checks for whitespace, and if none is found, returns
MATCH_NO to give other matchers a chance to run.

2019-08-02  Steven G. Kargl  <[hidden email]>

        PR fortran/90985
        * decl.c (gfc_match_data): In free-form code, DATA be followed by
        whitespace.

2019-08-02  Steven G. Kargl  <[hidden email]>

        PR fortran/90985
        * gfortran.dg/pr90985.f90: New test.

--
Steve

pr90985.diff (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Committed] PR fortran/90985 -- DATA must be followed by whitespace

Steve Kargl
On Mon, Aug 05, 2019 at 12:01:36PM -0700, H.J. Lu wrote:

> On Fri, Aug 2, 2019 at 4:51 PM Steve Kargl
> <[hidden email]> wrote:
> >
> > In free-form source code, DATA must be followed by whitespace.
> > This patch checks for whitespace, and if none is found, returns
> > MATCH_NO to give other matchers a chance to run.
> >
> > 2019-08-02  Steven G. Kargl  <[hidden email]>
> >
> >         PR fortran/90985
> >         * decl.c (gfc_match_data): In free-form code, DATA be followed by
> >         whitespace.
> >
> > 2019-08-02  Steven G. Kargl  <[hidden email]>
> >
> >         PR fortran/90985
> >         * gfortran.dg/pr90985.f90: New test.
> >
>
> This may have caused:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91372
>

Yep.

--
Steve