This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR 58026: Bad error recovery for allocatable component of undeclared type
- From: Mikael Morin <mikael dot morin at sfr dot fr>
- To: 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>, Paul Thomas <paul dot richard dot thomas at gmail dot com>
- Date: Sat, 11 Jan 2014 12:15:43 +0100
- Subject: Re: [Patch, Fortran] PR 58026: Bad error recovery for allocatable component of undeclared type
- Authentication-results: sourceware.org; auth=none
- References: <CAKwh3qj3nMyw_PRnyx7KiTXJ2aQH8_tgWEZwHwqs8wGRp3RwDw at mail dot gmail dot com>
Le 09/01/2014 16:30, Janus Weil a écrit :
> Hi all,
>
> the attached patch started out as an ICE-on-invalid regression fix,
> but after the ICE had been fixed recently by other means, it was
> degraded to a mere error-recovery improvement. It removes some rather
> 'hackish' code that was added by Paul quite a long time ago.
>
> Regtests cleanly on x86_64-unknown-linux-gnu. Ok for trunk?
>
Could you check whether it works with a regular error?
i.e. s/gfc_error_now/gfc_error/
If it doesn't, OK as is.
Thanks
Mikael