I think it was actually a genuine bug, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593 This ticket predates the fix, but the fix was included in the latest release (2019-q3-update).
Note that naked functions must only have basic asms, not extended asms, so the asm pointed to in the bug description was correct not to have a clobber list.
Thanks, Richard
I think it was actually a genuine bug, see https:/ /gcc.gnu. org/bugzilla/ show_bug. cgi?id= 85593
This ticket predates the fix, but the fix was included in the latest release (2019-q3-update).
Note that naked functions must only have basic asms, not extended asms, so the asm pointed
to in the bug description was correct not to have a clobber list.
Thanks,
Richard