https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:f3a41e6cb5d70f0c94cc8273a118b8542fb5c2fa commit r15-7336-gf3a41e6cb5d70f0c94cc8273a118b8542fb5c2fa Author: Harald Anlauf <anl...@gmx.de> Date: Sat Feb 1 19:14:21 2025 +0100 Fortran: different character lengths in array constructor [PR93289] PR fortran/93289 gcc/fortran/ChangeLog: * decl.cc (gfc_set_constant_character_len): Downgrade different string lengths in character array constructor to legacy extension. gcc/testsuite/ChangeLog: * gfortran.dg/unlimited_polymorphic_1.f03: Pad element in character array constructor to correct length. * gfortran.dg/char_array_constructor_5.f90: New test.