This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, forran] PR26107 - ICE after error message
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: patch <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Sun, 5 Mar 2006 11:04:13 -0800
- Subject: Re: [Patch, forran] PR26107 - ICE after error message
- References: <4407D89B.7070902@wanadoo.fr>
On Fri, Mar 03, 2006 at 06:48:11AM +0100, Paul Thomas wrote:
> This is a very short fix to prevent an ICE occurring, following an error
> in resolve_function. pure_function returns the name of the function,
> which is not made available because of the failure in the test of the
> type of the dummy argument being fed to LEN. The patch merely adds a
> test that the name is non-null to the test for pureness.
>
> Retested on FC3/Athlon; OK for mainline and 4.1?
>
> Paul
>
> 2006-03-03 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/26107
> * resolve.c (resolve_function): Add name after test for pureness.
>
> 2006-03-03 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/26107
> * pure_dummy_length_1.f90: New test.
>
OK
--
Steve