[Bug fortran/52101] Obsolescence warning for non-obs. feature character name*length
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 3 21:17:00 GMT 2012
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 ]
More information about the Gcc-bugs
mailing list