This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] Fix for PR fortran/21375


Steve Kargl wrote:
> The first diff was posted here 
> http://gcc.gnu.org/ml/fortran/2005-05/msg00064.html
> 
> I attached a new diff and a testcase.  This patch
> fixes PR fortran/21375.  The problem is that gfortran
> does not properly handle the STAT= feature for deallocate.
> 
> Bootstrapped and regtested on i386-*-freebsd for mainline?
> 
> Ok for mainline?  Ok for 4.0 after regression testing?

Not yet: you are setting up a variable called error_label, but not using it;
also this won't work for e.g.
 DEALLOCATE(a1,a2,stat=i)
where the deallocation of a1 fails and the one of a2 succeeds, because i only
gets set for the last deallocation.

- Tobi


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