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: Sun, 05 Feb 2012 09:58:46 +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
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-05 09:58:46 UTC ---
(In reply to comment #4)
> I believe that John is correct. The form 'CHARACTER*n string'
> is obsolescent while the form 'CHARACTER string*n' is not.
After re-checking the standard, I concur. However, I want to point out that a
simple quoting such as
> From Sec 5.1 in the F2003 standard,
> R504 entity-decl is object-name [( array-spec )] [ * char-length ]
> [ initialization ]
> or function-name [ * char-length ]
is insufficient as one cannot see whether '[ * char-length ]' is obsolescent:
"The descriptions of obsolescent features appear in a smaller type size."
(F2008, 1.4.5 Text conventions).
However, I have just check it and the font size seems to be the normal one.