This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52101] Obsolescence warning for non-obs. feature character name*length
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Feb 2012 07:22:28 +0000
- Subject: [Bug fortran/52101] Obsolescence warning for non-obs. feature character name*length
- Auto-submitted: auto-generated
- References: <bug-52101-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52101
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |burnus at gcc dot gnu.org
Resolution| |INVALID
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-03 07:22:28 UTC ---
(In reply to comment #0)
> Gfortran 4.6.2 -std=f95 says a declaration character name*length is
> obsolescent. IMHO it is not; the obsolescent form is character*length name.
>
> character greet*11
> 1
> Warning: Obsolescent feature: Old-style character length at (1)
See Fortran 95 standard,
http://gcc.gnu.org/wiki/GFortranStandards
http://j3-fortran.org/doc/standing/archive/007/97-007r2/pdf/97-007r2.pdf
in Section "B.2 Obsolescent features":
"The obsolescent features are those features of Fortran 90 that were redundant
and for which better methods were available in Fortran 90. Section 1.7.2
describes the nature of the obsolescent features. The obsolescent features in
this standard are the following:
...
(9) CHARACTER* form of CHARACTER declaration - see B.2.7."
Closed as INVALID.