https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114468
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Gcc 10 is no longer supported. Can you test a newer gcc? Register allocation is always improving between versions so this might be already fixed.