This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PR fortran/82865] Fix PDT declarations being parsed as PRINT statements with -fdec
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Fritz Reese <fritzoreese at gmail dot com>
- Cc: fortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Jun 2018 09:33:42 +0300
- Subject: Re: [PR fortran/82865] Fix PDT declarations being parsed as PRINT statements with -fdec
- References: <CAE4aFAm1kmmajCnkNQWUeJui1ETSccSboDQt9tK7Ve4D4bgErw@mail.gmail.com>
On Thu, Jun 28, 2018 at 12:07 AM, Fritz Reese <fritzoreese@gmail.com> wrote:
> One extension enabled by -fdec is the ability to interpret TYPE ....
> as a PRINT statement for compatibility purposes. When PDTs were
> introduced, the code that handles -fde TYPE matching was not updated.
> This patch fixes TYPE matching to no longer interpret <TYPE
> name(parameter)> as a PRINT statement when -fdec is asserted. Passes
> regression tests as well.
>
> The patch is attached. OK for trunk and 7/8-branch?
>
Ok, thanks.
--
Janne Blomqvist