[Patch, fortran] PR24789 - ICE when assigning to array of strings
Paul Thomas
paulthomas2@wanadoo.fr
Wed Nov 30 23:59:00 GMT 2005
:ADDPATCH fortran:
Just after committing the patch for PR15809 to trunk, I was cleaning up
the Bugzilla entries and came across PR24789. It was immediately
obvious that I had put the patch in the wrong place! A previous,
developmental version of the patch added the size in gfc_conv_variable,
where it fixed the above bug as well as PR15809. I forgot to check that
the new location did likewise. It is fixed by moving the part of the
patch in trans-decl.c a few lines down, so that it picks up all
character, pointer arrays and checks that the TYPE_SIZE_UNIT is set.
I will commit this and the testcase to trunk tomorrow morning, under
the"blindingly obvious" rule, unless there are any objections.
Bootstrapped and regtested under FC3. It is OK for trunk and I will add
a further 24 hours for the composite patch to 4.0 and 4.1.
Paul
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr15809a.txt
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051130/39f186f8/attachment.txt>
More information about the Fortran
mailing list