[PATCH, Fortran] PR 79968: merge similar diagnostics containing -fdec-structure
Paul Richard Thomas
paul.richard.thomas@gmail.com
Wed May 17 18:44:00 GMT 2017
Hi Fritz,
Yes, that's good for trunk.
Thanks
Paul
On 17 May 2017 at 16:51, Fritz Reese <fritzoreese@gmail.com> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79968
>
> All,
>
> The PR suggests unifying diagnostics of the form "%s at %C is a DEC
> extension, enable with ..." I think the patch is obvious/trivial and
> speaks for itself. I plan to commit the attached to trunk shortly,
> barring any complaints.
>
> (Nb. even with the change in diagnostics, the applicable testcases
> (dec_io_3.f90 and dec_static_3.f90) are not regressed as they match
> only the "is a DEC extension" portion of the error message.)
>
> ---
> Fritz Reese
>
> 2017-05-17 Fritz Reese <fritzoreese@gmail.com>
>
> PR fortran/79968
>
> gcc/fortran/ChangeLog:
>
> PR fortran/79968
> * decl.c (match_attr_spec, gfc_match_automatic,
> gfc_match_static, gfc_match_structure_decl): Unify diagnostic
> errors regarding -fdec options.
> * io.c (match_dec_etag, match_dec_vtag, match_dec_ftag): Ditto.
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein
More information about the Fortran
mailing list