diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2019-02-02 09:16:44 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2019-02-02 09:16:44 +0000 |
commit | da46c08e8b857d8ffc2332689e19c5277d25e7fd (patch) | |
tree | ee3c99e9e0766e3246de5eb54f4847736fb03e01 /gcc/fortran/arith.c | |
parent | 6bb45a6b52046f51193c34bbd026a13bf48b4b49 (diff) | |
download | gcc-da46c08e8b857d8ffc2332689e19c5277d25e7fd.zip gcc-da46c08e8b857d8ffc2332689e19c5277d25e7fd.tar.gz gcc-da46c08e8b857d8ffc2332689e19c5277d25e7fd.tar.bz2 |
re PR fortran/88980 (segfault on allocatable string member assignment)
2019-02-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/88980
* trans-array.c (gfc_array_init_size): Add element_size to the
arguments.
(gfc_array_allocate): Remove the recalculation of the size of
the element and use element_size from the call to the above.
Unconditionally set the span field of the descriptor.
2019-02-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/88980
* gfortran.dg/realloc_on_assign_32.f90 : New test.
From-SVN: r268473
Diffstat (limited to 'gcc/fortran/arith.c')
0 files changed, 0 insertions, 0 deletions