https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854
--- Comment #153 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Filip Kastl from comment #152) > I've just noticed that this bug got worse. Running > > time gcc -O2 all.i > > for GCC 14.2 gets me > > real 2m57.090s > user 2m36.641s > sys 0m20.309s > > but running the same thing with trunk GCC gets me > > real 25m36.666s > user 25m14.545s > sys 0m21.044s It also takes 24GB of ram. -fno-ext-dce does not seem to fix it, neither -fno-crc-optimize. -O1 seems "fine". I suggest you file a new bugreport for the regression.