https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492
--- Comment #2 from Georg-Johann Lay ---
FYI, if the code is not executed in a loop but instead
void do_syscalls_noloop (void)
{
syscall_7 (0, 8);
syscall_7 (1, 9);
syscall_7 (0, 8);
syscall_7 (1, 9);
}
then the generated code i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492
--- Comment #1 from Georg-Johann Lay ---
Created attachment 41249
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41249&action=edit
loopasm.s: Generated assembly
Assembler output as generated with
$ avr-gcc loopasm.c -O2 -dp -S -std=gnu99