[PATCH, Fortran] PR 79968: merge similar diagnostics containing -fdec-structure
Fritz Reese
fritzoreese@gmail.com
Wed May 17 15:52:00 GMT 2017
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr79968.patch
Type: text/x-patch
Size: 3259 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170517/66e4ae6a/attachment.bin>
More information about the Fortran
mailing list