[Bug tree-optimization/106617] [13 Regression] gcc is very slow at ternary expressions,
slyfox at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 14 22:02:59 GMT 2022
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.
More information about the Gcc-bugs
mailing list