https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124416
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-03-09
Ever confirmed|0 |1
Target| |aarch64
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. We decide to inline callee1 into caller1 ...
Which means the aarch64 backend does not reject this case.
Also this is a testcase that compiles with clang too:
```
#include <arm_sme.h>
int callee1() __arm_streaming
{
return svcntd();
}
int caller1()
{
return callee1() + svcntd();
}
```
It also means it is unrelated to PR 115556.