Hello All, This is now fixed on all three affected branches. The patch is utterly trivial and so was pushed as 'obvious'.
Cheers Paul Fortran: Fix regression due to r16-669 [PR124161] 2026-03-19 Paul Thomas <[email protected]> gcc/fortran PR fortran/124161 * resolve.cc (resolve_symbol): Do not apply the default initializer if the symbol is used in a submodule. gcc/testsuite/ PR fortran/124161 * gfortran.dg/pr124161.f90: New test.
