diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2025-09-05 07:22:01 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2025-09-05 07:22:01 +0100 |
commit | 6b6a2d461bfd3c81cc35c9989b225845681357cb (patch) | |
tree | 7acd920c1e72ee7c408e0edb61403feecc746e27 /gcc/testsuite/gm2/complex | |
parent | 86353186dc2e477fa00df0edbaa389d338c2935c (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
2025-09-04 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/84432
PR fortran/114815
* expr.cc (gfc_check_assign_symbol): Check that components in a
PDT with a default initializer have type and length parameters
that reduce to constant integer expressions.
* trans-expr.cc (gfc_trans_assignment_1): Parameterized
components cannot have default initializers so they must be
allocated after initialization.
gcc/testsuite/
PR fortran/84432
PR fortran/114815
* gfortran.dg/pdt_26.f03: Update with default no initializer.
* gfortran.dg/pdt_27.f03: Change to test non-conforming
initializers.
Diffstat (limited to 'gcc/testsuite/gm2/complex')
0 files changed, 0 insertions, 0 deletions