diff options
author | Andre Vehreschild <vehre@gcc.gnu.org> | 2017-02-05 16:43:03 +0100 |
---|---|---|
committer | Andre Vehreschild <vehre@gcc.gnu.org> | 2017-02-05 16:43:03 +0100 |
commit | 139d4065e80d9141a23cf84d8b31fc9ee7c5d8c3 (patch) | |
tree | c07eb1799927d7474a9ed1151941fa320a1276ef /gcc/tree-ssa-loop-unswitch.c | |
parent | ea06c7b0c4299833959a6a62a7a57533e60c8418 (diff) | |
download | gcc-139d4065e80d9141a23cf84d8b31fc9ee7c5d8c3.zip gcc-139d4065e80d9141a23cf84d8b31fc9ee7c5d8c3.tar.gz gcc-139d4065e80d9141a23cf84d8b31fc9ee7c5d8c3.tar.bz2 |
re PR fortran/79344 (segmentation faults and run-time errors)
gcc/fortran/ChangeLog:
2017-02-05 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/79344
* trans-stmt.c (gfc_trans_allocate): Only deallocate the components of
the temporary, when a new object was created for the temporary. Not
when it is just an alias to an existing object.
gcc/testsuite/ChangeLog:
2017-02-04 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/79344
* gfortran.dg/allocate_with_source_24.f90: New test.
From-SVN: r245194
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions