This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 46007, segfault with shape
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Oct 2010 15:04:28 +0200
- Subject: Re: [patch, fortran] Fix PR 46007, segfault with shape
- References: <1287661047.3660.12.camel@linux-fd1f.site> <4CC02799.4090105@net-b.de>
Am Donnerstag, den 21.10.2010, 13:44 +0200 schrieb Tobias Burnus:
> On 10/21/2010 01:37 PM, Thomas Koenig wrote:
> > this rather straightforward patch fixes PR 46007.
> >
> > Regression-tested on trunk. OK for trunk? Also OK for 4.5 after
> > regression-testing there?
>
> OK. Thanks for the patch!
>
> Tobias
>
> > 2010-10-21 Thomas Koenig<tkoenig@gcc.gnu.org>
> >
> > PR fortran/46007
> > * m4/shape.m4 (shape_'rtype_kind`): Use variable for rank.
> > Allocate return array if unallocated.
> > * generated/shape_i4.c: Regenerated.
> > * generated/shape_i8.c: Regenerated.
> > * generated/shape_i16.c: Regenerated.
> >
> > 2010-10-21 Thomas Koenig<tkoenig@gcc.gnu.org>
> >
> > PR fortran/46007
> > * gfortran.dg/shape_5.f90: New test case.
> >
>
Committed to trunk as revision 165770.
Committed to 4.5 as revision 165773.
Thanks for the review!
Thomas