1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* { dg-do compile { target { musttail && { c || c++11 } } } } */ /* { dg-additional-options "-fdelayed-branch" { target sparc*-*-* } } */ int __attribute__((noinline,noclone,noipa)) callee (int i) { return i * i; } int __attribute__((noinline,noclone,noipa)) caller (int i) { [[gnu::musttail]] return callee (i + 1); }