https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112862
--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> --- this appears to be fixed; I get clean fortran testsuite results on (x86_64) Darwin21 and Darwin23. Please could you check and either close this or post your Xcode version, configure line and OS version.