[Patch/gfortran] PR18283
Paul Thomas
paulthomas2@wanadoo.fr
Mon May 30 15:23:00 GMT 2005
This patch cures pr18283 that arises because character scalar pointer
derived-type references cause an ICE in gfc_conv_string_parameter.
This, in turn, is caused by an incorrect dereference in
gfc_conv_component_ref.
Please excuse the diff relative to my own source. The pending patch for
pr18109 is from the same file.
Bubblestrapped and regtested on i686/RH9: OK to commit?
Regards
Paul T
2005-05-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/18283
* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
dereference of scalar character pointer structure components.
2005-05-29 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/char_pointer_comp_assign.f90:
Test character pointer structure component assignments.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: char_pointer_comp_assign.f90
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050530/739d8980/attachment.f90>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr18283.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050530/739d8980/attachment.ksh>
More information about the Fortran
mailing list