When register are listet as clobbert, they are used anyway for local variables if the inline assembly code uses rcall. The r1 (zeroreg) is not restored even if it is clobbert. None of these problems genrates error or warnings.
Created attachment 8410 [details] Testcase with listfile This show the wrong generated code.
please close this. it's pretty much outdated and abuses inline asm to shred ABI
In gcc mainline I get Main.c: In function ‘Foo’: Main.c:26:1: error: r28 cannot be used in asm here Main.c:26:1: error: r29 cannot be used in asm here so this appears to be fixed.