https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106617
--- Comment #2 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I doubt this is a regression. I suspect if you compile the trunk with > --enable-checking=release you would see the same compile time as 12. I think both my gcc-12.1.0 and gcc-13.0.0 are compiled with the same options (both are without --enable-checking= option). My unsubstantiated guess would be on recently added rules to fold & (or similar) which does not scale too well on long strings of ternary operators.