https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114480
--- Comment #40 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #27) > A bit of history (x86_64-linux, at -O0): > > GCC 11.4: 75s, 2GB peak > GCC 12.3: 385s, 4GB peak > GCC 13.2: segfaults after 105s and 650MB peak (stack?), with unlimited stack > size it taks 262s and 4GB peak > GCC 14.0.1 (r14-9832-g080cac15ce0c3e): 183s, 3.2GB peak Note the reason why GCC 14 is better is due to r14-1500-g4d935f52b0d5c0. I filed PR 121883 and 121884 which should help too.