[Patch, Fortran] PR 85841: [F2018] reject deleted features
Janus Weil
janus@gcc.gnu.org
Mon May 21 10:14:00 GMT 2018
>> >> Btw, with the arrival of the F2018 standard, I wonder whether it
>> >> actually makes sense to keep the option -std=f2008ts, or to remove it
>> >> in favor of -std=f2018, since the two Technical Specifications covered
>> >> by this flag are now part of F2018 (and pretty much the main part!).
>> >> Any opinions on this?
>> >
>> > I think that f2008ts can go away. We may need to do this
>> > in two step as some users may have f2008ts hardcoded in
>> > Makefiles. Probably, issue warning for -std=2008ts and
>> > map it to -std=2018 for a brief period (3 to 6 months?)
>> > and then finally remove it.
>>
>> Yes, I agree that it would be a good idea to keep -std=f2008ts as an
>> alias for f2018 for a while (possibly until the next release, 9.0),
>> and document is as deprecated. I can take care of removing the
>> GFC_STD_F2008_TS macro in a follow-up patch.
>
> Sounds good to me.
So, here is the promised follow-up patch. It mostly removes
GFC_STD_F2008_TS and replaces it by GFC_STD_F2018 in a mechanical
manner. Plus, it fixes the resulting fallout in the testsuite and
updates the documentation. The non-mechanical parts are libgfortran.h
and options.c. Regtests cleanly. Ok for trunk with a suitable
ChangeLog?
Cheers,
Janus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr85841_part2.diff
Type: text/x-patch
Size: 39913 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180521/5026a5e8/attachment.bin>
More information about the Fortran
mailing list