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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-03 
07:30:24 UTC ---
As postscript:

* A program which uses the CHARACTER* declaration is still perfectly valid
Fortran 95/2003/2008. - Thus, you do not have to react on the warning, you
should only avoid it for new code and could consider fixing it in the old code.

* A Fortran compiler is required to diagnose obsolescent features. From Fortran
2008, Section 1.5:

"A processor conforms to this part of ISO/IEC 1539 if:
[...]
(2) it contains the capability to detect and report the use within a submitted
program unit of a form designated herein as obsolescent, insofar as such use
can be detected by reference to the numbered syntax rules and constraints;"

That's what gfortran does if one ask for it (-std=f95/f2003/f2008/f2008tr).

Reply via email to