This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch,Fortran] PR44556 Fix 4.5/4.6 regression in (DE)ALLOCATE stat/errmsg checking
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 18 Jun 2010 15:07:33 -0700
- Subject: Re: [Patch,Fortran] PR44556 Fix 4.5/4.6 regression in (DE)ALLOCATE stat/errmsg checking
- References: <4C1B2106.5040807@net-b.de>
On Fri, Jun 18, 2010 at 09:32:22AM +0200, Tobias Burnus wrote:
> Since 4.5, gfortran has a check which prevents "allocate(a, stat=a)",
> i.e. that the allocate and stat variable is the same. However, the
> current check fails for different components of the same derived type.
>
> The attached patch fixes this.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
>
OK.
--
Steve