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

--- Comment #8 from Vincenzo Romano <vincenzo.romano at gmail dot com> ---
I would then update documentation about "naked" functions. 

Quoting:

The only statements that can be safely included in naked functions are asm
statements that do not have operands. All other statements, including
declarations of local variables, if statements, and so forth, should be
avoided. Naked functions should be used to implement the body of an assembly
function, while allowing the compiler to construct the requisite function
declaration for the assembler.

Reply via email to