diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2024-11-24 12:01:32 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2024-11-24 12:01:32 +0000 |
commit | 470ebd31843db58fc503ccef38b82d0da93c65e4 (patch) | |
tree | 493b330ff36e52eabab3607d99c2ea9fc3f2f290 /gcc/function.cc | |
parent | dd6dbbb5111fba960ad0ee7999a225783e0ae80e (diff) | |
download | gcc-470ebd31843db58fc503ccef38b82d0da93c65e4.zip gcc-470ebd31843db58fc503ccef38b82d0da93c65e4.tar.gz gcc-470ebd31843db58fc503ccef38b82d0da93c65e4.tar.bz2 |
Fortran: Fix segfault in allocation of unlimited poly array [PR85869]
2024-11-24 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran/ChangeLog
PR fortran/85869
* trans-expr.cc (trans_class_vptr_len_assignment): To access
the '_len' field, re must be unlimited polymorphic.
gcc/testsuite/
PR fortran/85869
* gfortran.dg/pr85869.f90: Comment out test of component refs.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions