Discussion:
[Patch, fortran] PR87239 - ICE in deferred-length string
Paul Richard Thomas
2018-09-18 19:40:58 UTC
Permalink
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 <***@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 <***@gcc.gnu.org>

PR fortran/87239
* gfortran.dg/elemental_function_2.f90 : New test.
Dominique d'Humières
2018-09-18 20:03:41 UTC
Permalink
Hi Paul,

Shouldn’t be the test a dg-do run?

Dominique
Janne Blomqvist
2018-09-19 07:55:15 UTC
Permalink
On Tue, Sep 18, 2018 at 10:41 PM Paul Richard Thomas <
Post by Paul Richard Thomas
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?
Ok, seems obvious enough.
--
Janne Blomqvist
Loading...