https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) > Created attachment 56172 [details] > Testcase that takes ~8second > > For this reduced testcase: > scheduling 2 : 7.66 ( 90%) 0.02 ( 50%) 7.69 ( > 89%) 134k ( 1%) This definitely shows some compile time issue as `-O3` without any other option is very quick.