[Bug target/124416] aarch64: Incorrect IPA of poly_int constants between streaming and non-streaming code

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 9 19:55:52 GMT 2026


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.


More information about the Gcc-bugs mailing list