[Patch, forran] PR26107 - ICE after error message
Paul Thomas
paulthomas2@wanadoo.fr
Fri Mar 3 05:48:00 GMT 2006
:ADDPATCH fortran:
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pure.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060303/fd2391f5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pure_dummy_length_1.f90
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060303/fd2391f5/attachment.f90>
More information about the Fortran
mailing list