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: "kargl 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 21:16:47 +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
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2012-02-03
CC| |kargl at gcc dot gnu.org
Resolution|INVALID |
Ever Confirmed|0 |1
--- Comment #4 from kargl at gcc dot gnu.org 2012-02-03 21:16:47 UTC ---
I believe that John is correct. The form 'CHARACTER*n string'
is obsolescent while the form 'CHARACTER string*n' is not.
>From Sec 5.1 in the F2003 standard,
R504 entity-decl is object-name [( array-spec )] [ * char-length ]
[ initialization ]
or function-name [ * char-length ]