[Patch, Fortran] PR52101 Fix obsolescent warning

Tobias Burnus burnus@net-b.de
Tue Jul 17 08:14:00 GMT 2012


gfortran warns (with -std=) for the obsolescence of
   character*5 ...
which is correct. However, it also warns when using
   character name*5
which is not (yet) obsolescent.

Fixed by the attached patch. In comment 5 you find Steve's version of 
the patch, which I only saw after writing my patch. The only difference 
seems to be the name of the parameter. Steve uses "entity_decl".

Build and regtested on x86-64-gnu-linux.
OK for the trunk?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: old-style-char.diff
Type: text/x-patch
Size: 2233 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120717/ec5017fe/attachment.bin>


More information about the Gcc-patches mailing list