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

vmakarov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 19:03:14 GMT 2020


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

--- Comment #27 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #26)
> 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

Ok.  Thank you.  I've reproduced this with -mcpu=cortex-m0.


More information about the Gcc-bugs mailing list