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, forran] PR26107 - ICE after error message


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


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