https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119158
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-03-07 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |assemble-failure Component|target |rtl-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. The bug is -freorder-blocks-and-partition does not take into account forced labels need to be in the same partition as the main function.