https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166
--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 58847 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58847&action=edit reduced testcase Reduced testcase that reproduces the issue on x86_64 with --param logical-op-non-short-circuit=0 A release checking GCC 13 takes 38s and shows dominator optimization : 37.47 ( 98%) 0.01 ( 9%) 37.50 ( 98%) 1959k ( 6%) GCC 14 is worse: dominator optimization : 76.10 ( 99%) 0.01 ( 8%) 76.13 ( 99%) 1958k ( 6%) GCC 15 (with checking): dominator optimization : 126.05 ( 99%) 0.04 ( 31%) 126.08 ( 98%) 1958k ( 6%)