This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 55314, rejects-valid regression
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 24 Nov 2012 15:32:40 +0100
- Subject: Re: [patch, fortran] Fix PR 55314, rejects-valid regression
- References: <50B0BDE9.1020500@netcologne.de>
Hi Thomas,
> the attached patch fixes a 4.6/4.7/4.8 rejects-valid regression.
> OK for trunk?
looks good to me. Thanks for the patch. Ok for trunk and also for the
4.6/4.7 branches ...
Cheers,
Janus
> 2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/55314
> * resolve.c (resolve_allocate_deallocate): Compare all
> subscripts when deciding if to reject a (de)allocate
> statement.
>
> 2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/55314
> * gfortran.dg/allocate_error_4.f90: New test.