https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110257
--- Comment #4 from Manuel Bergler <manuel.bergler at mvtec dot com> --- I don't know if it helps find the offending commit and/or fix, but these are the numbers I got from -ftime-report with the broken GCC 13.1: Time variable usr sys wall GGC phase setup : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( 0%) 1763k ( 0%) phase parsing : 0.83 ( 0%) 0.34 ( 1%) 1.30 ( 0%) 62M ( 0%) phase lang. deferred :1327.73 (100%) 59.04 ( 99%)1386.92 (100%) 88645M (100%) phase opt and generate : 0.02 ( 0%) 0.02 ( 0%) 0.03 ( 0%) 6489k ( 0%) phase last asm : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( 0%) 354k ( 0%) |name lookup : 0.30 ( 0%) 0.07 ( 0%) 0.39 ( 0%) 3750k ( 0%) |overload resolution : 36.61 ( 3%) 0.94 ( 2%) 37.63 ( 3%) 60M ( 0%) garbage collection : 1.00 ( 0%) 0.10 ( 0%) 1.10 ( 0%) 0 ( 0%) callgraph construction : 0.02 ( 0%) 0.02 ( 0%) 0.03 ( 0%) 6486k ( 0%) preprocessing : 0.13 ( 0%) 0.10 ( 0%) 0.32 ( 0%) 1628k ( 0%) parser (global) : 0.14 ( 0%) 0.11 ( 0%) 0.32 ( 0%) 16M ( 0%) parser struct body : 0.13 ( 0%) 0.03 ( 0%) 0.11 ( 0%) 10M ( 0%) parser function body : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%) 216k ( 0%) parser inl. func. body : 0.05 ( 0%) 0.02 ( 0%) 0.05 ( 0%) 2629k ( 0%) parser inl. meth. body : 0.08 ( 0%) 0.03 ( 0%) 0.15 ( 0%) 7090k ( 0%) template instantiation : 10.21 ( 1%) 0.48 ( 1%) 10.79 ( 1%) 95M ( 0%) constant expression evaluation :1247.10 ( 94%) 57.06 ( 96%)1304.35 ( 94%) 88547M (100%) varconst : 0.02 ( 0%) 0.00 ( 0%) 0.00 ( 0%) 0 ( 0%) symout : 69.71 ( 5%) 1.45 ( 2%) 71.03 ( 5%) 26M ( 0%) TOTAL :1328.60 59.40 1388.27 88716M