diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-12-29 17:44:48 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-12-29 17:44:48 +0000 |
commit | eeb145317b42d5203056851435457d9189a7303d (patch) | |
tree | cb2e5812591f450f58c157376d43638c34c5f325 /libgo/go | |
parent | feae0af82753e06fbff6103da5fbb3b28e1ddbd7 (diff) | |
download | gcc-eeb145317b42d5203056851435457d9189a7303d.zip gcc-eeb145317b42d5203056851435457d9189a7303d.tar.gz gcc-eeb145317b42d5203056851435457d9189a7303d.tar.bz2 |
Fortran: Correct missing structure constructor comps. [PR97612].
2020-12-29 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/97612
* primary.c (build_actual_constructor): Missing allocatable
components are set unallocated using EXPR_NULL. Then missing
components are tested for a default initializer.
gcc/testsuite/
PR fortran/97612
* gfortran.dg/structure_constructor_17.f90: New test.
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions