[Patch, Fortran] PR 85849: [F2018] warn for obsolescent features

Steve Kargl sgk@troutmask.apl.washington.edu
Thu May 24 21:10:00 GMT 2018


On Thu, May 24, 2018 at 09:57:16PM +0200, Janus Weil wrote:
> 
> just because 2018 seems like a good time to do that, I continue
> plucking some of the low-hanging Fortran 2018 fruit. The attached
> patch adds obsolescence warnings for all major F18 obsolescences
> (COMMON, BLOCK DATA, EQUIVALENCE, FORALL, labeled DO). Those warnings
> appear only with -std=f2018, but not with gfortran's default -std=gnu.
> They currently have zero impact on the gfortran test suite, so I'm
> adding a new test case to check for their existence.
> 
> Regtests cleanly on x86_64-linux-gnu. Ok for trunk?
> 

Ok.  Thanks for housekeeping type patches.

-- 
Steve



More information about the Gcc-patches mailing list