This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR 40881: warn for obsolescent features
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Robert Dewar <dewar at adacore dot com>
- Cc: Janus Weil <janus at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 1 Aug 2009 23:47:38 +0200
- Subject: Re: [Patch, Fortran] PR 40881: warn for obsolescent features
- References: <854832d40908010957u11273305t91e0e7357b071e14@mail.gmail.com> <4A74781C.3040008@adacore.com>
On Sat, Aug 1, 2009 at 7:15 PM, Robert Dewar<dewar@adacore.com> wrote:
> Janus Weil wrote:
>>
>> Hi all,
>>
>> the Fortran 90 standard lists nine "obsolescent" f77 features, which
>> continue to be supported in f90, but may be deleted in the future.
>> Therefore their usage is discouraged by the standard. Currently, we
>> only warn about two of them (arithmetic if and assumed length
>> character functions). This patch adds warnings for four more:
>
> I assume that these warnings can be controlled as a group? It is
> not clear you want to warn unconditionally for such usage. And if
> anyone thinks these features might actually be removed, they are
> deluding themselves. Think back to the attempt to remove the ALTER
> verb in COBOL-90. A major company threatened to sue the members of
> the standards committee individually, and they backed down :-)
Evil comes in many forms and shapes.
Ciao!
Steven