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.