[Patch, forran] PR26107 - ICE after error message

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Mar 5 19:04:00 GMT 2006


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



More information about the Fortran mailing list