Andreas Schwab, le dim. 24 nov. 2024 15:15:43 +0100, a ecrit: > On Nov 24 2024, Sergey Bugaev wrote: > > So are you saying that we always must mark any asm statement that > > might transfer control somewhere else w/o returning as 'asm goto', > > even if we don't actually need to jump to any of the C-level labels? > > An ordinary asm is not allowed to change flow control.
I was suggesting on IRC to rather move the asm bit outside any function and just call it as a function (with attribute noreturn). Samuel