https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111271
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:c23ce23e9ce162c49bca8900c8a20079b49501c9 commit r14-4242-gc23ce23e9ce162c49bca8900c8a20079b49501c9 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Sun Sep 24 09:00:52 2023 +0100 Fortran: Pad mismatched charlens in component initializers [PR68155] 2023-09-24 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/68155 * decl.cc (fix_initializer_charlen): New function broken out of add_init_expr_to_sym. (add_init_expr_to_sym, build_struct): Call the new function. PR fortran/111271 * trans-expr.cc (gfc_conv_intrinsic_to_class): Remove repeated condition. gcc/testsuite/ PR fortran/68155 * gfortran.dg/pr68155.f90: New test.