[Patch, fortran] PR87359 [9 regression] pointer being freed was not allocated

Paul Richard Thomas paul.richard.thomas@gmail.com
Sun Sep 30 14:00:00 GMT 2018


After testing by Dominique and Juergen. Committed as revision 264725.

Thanks to Dominique and juergen for doing all the hard work!

Cheers

Paul

2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/87359
    * trans-array.c (gfc_is_reallocatable_lhs): Correct the problem
    introduced by r264358, which prevented components of associate
    names from being reallocated on assignment.


2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/87359
    * gfortran.dg/associate_40.f90 : New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regression.diff
Type: text/x-patch
Size: 5251 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180930/5e413a11/attachment.bin>


More information about the Fortran mailing list