diff options
| author | Paul Thomas <pault@gcc.gnu.org> | 2026-02-08 07:59:15 +0000 |
|---|---|---|
| committer | Paul Thomas <pault@gcc.gnu.org> | 2026-02-08 07:59:15 +0000 |
| commit | d93c8a679b2657729229d7c833308ee6eca7bb91 (patch) | |
| tree | 9521431bfe3cf9dd7c9f1d931705076baedb2460 /libjava/classpath/java/rmi | |
| parent | c6dd51c062667fdf2db3bed0ab50e034e048f3b5 (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
2026-02-08 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/123545
PR fortran/123673
* decl.cc (gfc_get_pdt_instance): If a pdt_type component is
allocatable or has allocatable components, mark it alloc_comp.
(gfc_match_decl_type_spec): Sometimes in compiling contained
functions, the symtree for the constructor points to the type
instead of the constructor symbol. This corrects itself later
in compilation so return MATCH_YES.
* trans-decl.cc (gfc_generate_function_code): Unconditionally
nullify allocatable components as well as applying the default
initializer.
* trans-expr.cc (gfc_trans_alloc_subarray_assign): Restrict the
freeing of the destination data to non-allocatable expressions
and, instead, add the se finalblock to the encompassing final_
block.
gcc/testsuite
PR fortran/123545
* gfortran.dg/pdt_82.f03: New test.
PR fortran/123673
* gfortran.dg/pdt_83.f03: New test.
PR fortran/122949
* gfortran.dg/pr122949.f90: New test.
Diffstat (limited to 'libjava/classpath/java/rmi')
0 files changed, 0 insertions, 0 deletions
