This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch,Fortran] PR44556 Fix 4.5/4.6 regression in (DE)ALLOCATE stat/errmsg checking


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]