https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does -fno-schedule-insns help? Sometimes the scheduler before the register allocator causes register pressure and forces more register spills.