------- 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