https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973
Vincenzo Romano <vincenzo.romano at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |c --- Comment #3 from Vincenzo Romano <vincenzo.romano at gmail dot com> --- This code: __attribute__ ((naked)) ret test4 () { asm volatile ("ecall"); asm volatile ("ret"); } generates the same code as earlier "test3".