[Patch, Fortran] PR52101 Fix obsolescent warning

Janus Weil janus@gcc.gnu.org
Tue Jul 17 09:04:00 GMT 2012


Hi,

> 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?

I think this is also ok (and close to obvious). Thanks!

Btw, I am about to commit a cleanup patch regarding gfc_notify_std
(any minute now) ...

Cheers,
Janus



More information about the Fortran mailing list