This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/52101] Obsolescence warning for non-obs. feature character name*length


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]