https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8 Regression] GCC on ARM |[7 Regression] GCC on ARM |allocates R3 for local |allocates R3 for local |variable when calling naked |variable when calling naked |function with O2 |function with O2 |optimizations enabled |optimizations enabled --- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed for 8.3+ too.