[Bug rtl-optimization/70164] [8/9/10 Regression] Code/performance regression due to poor register allocation on Cortex-M0

clyon at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 16:14:15 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70164

--- Comment #26 from Christophe Lyon <clyon at gcc dot gnu.org> ---
For what CPU did you configure GCC?
With today's trunk I still see the same code as in comment #24.

I can get the same code as you have in comment #25 if I force -mcpu=cortex-a9.

The bug report is about cortex-m0, so you either need to configure GCC
--with-cpu=cortex-m0 or use -mcpu=cortex-m0


More information about the Gcc-bugs mailing list