This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fortran/27351: Memory leak in gfc_conv_array_transpose
On Sat, Apr 29, 2006 at 06:56:02AM -0700, Steve Kargl wrote:
> On Sat, Apr 29, 2006 at 09:19:21AM +0200, Fran?ois-Xavier Coudert wrote:
> > >2006-04-28 H.J. Lu <hongjiu.lu@intel.com>
> > >
> > > PR fortran/27351
> > > * trans-array.c (gfc_conv_array_transpose): Move gcc_assert
> > > before gfc_conv_expr_descriptor.
> >
> > OK for mainline. Can you please test, before commiting it, if it fixes
> > PR 26119 too and, in that case, report it to the list and add the PR
> > number to the ChangeLog entry and commit message?
>
> It is my recollection that I tried a patch similar to HJ's
> for 26119. It did not fix the problem on amd64-*-freebsd.
> In fact, gfortran.dg/char_transpose_1.f90 fails due to the
> assert on the src variable as I explain in my comment to
> PR 26119.
I checked it in. PR 26119 doesn't fail on Linux. Someone else has to
check it on other OSes.
H.J.