https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65042
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- What command line options are used? With explicit -ftemplate-depth=25 (or even 27) it indeed fails, succeeds with 28, but the default is 900 AFAIK. Have those command line options changed in any way since the compilation with the older g++?