[Bug fortran/40881] warn for obsolescent features

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 30 08:20:00 GMT 2009



------- Comment #3 from janus at gcc dot gnu dot org  2009-07-30 08:20 -------
In principle warnings for obsolescent features are already there (cf.
GFC_STD_F95_OBS). They are issued with -std=f95 or above, which does work e.g.
for arithmetic if. However, there is no warning for alternate return (maybe
others are missing as well).

The warnings about deleted features can be turned off via -std=legacy, and are
turned into errors by -std=f95 and above.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881



More information about the Gcc-bugs mailing list