https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115
--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jürgen Reuter from comment #6) > Really interesting, I don't get an ICE with the following setup: > ../configure --prefix=/usr/local/ --with-gmp=/usr/local/ > --with-mpfr=/usr/local/ --with-mp=/usr/local/ > --with-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX. > platform/Developer/SDKs/MacOSX.sdk/ --enable-checking=release > --enable-languages=c,c++,fortran,lto,objc,obj-c++ > $ gfortran --version > GNU Fortran (GCC) 12.0.0 20211115 (experimental) > Maybe the enable-checking setup!? Extremely likely. --enable-checking=release turns off a very large number of checks which are really only interesting for developers to find bugs, and which make the compiler run rather slowly.