[Patch, fortran] PR87239 - ICE in deferred-length string
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Sep 18 19:41:00 GMT 2018
This is sufficiently 'obvious' that I have committed the patch to
trunk as revision 264409.
My inclination is to commit it to 8-branch as well since deferred
character bugs were one of the complaints in the fortran standards
survey. OK?
Paul
2018-09-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/87239
* trans-expr.c (gfc_trans_assignment_1): The rse.pre for the
assignment of deferred character elemental function results to
a realocatable lhs must not be added to the exterior block but
must go to the loop body.
2018-09-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/87239
* gfortran.dg/elemental_function_2.f90 : New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2541 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180918/a95cfcd4/attachment.bin>
More information about the Fortran
mailing list