https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this was a stack limit issue. It seemed to be fixed in GCC 6+. The compile time is also cut in half too.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 20 Sep 2021 02:59:08 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this was a stack limit issue. It seemed to be fixed in GCC 6+. The compile time is also cut in half too.