https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97864
--- Comment #4 from Damian Rouson <damian at sourceryinstitute dot org> --- The above reduced version produces an ICE with gfortran 11.0.0 2020815 built from source so this is not specific to Homebrew but is specific to macOS.