Hi all,

This series fixes PR121028 
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121028).

The first patch fixes a testsuite issue which stems from when the '+sme' implies
'+sve2' rule was relaxed for GCC 15.  The second patch fixes an issue with
streaming-compatible codegen which has existed since GCC 14.

Therefore, for a backport, only the second patch needs to be applied to both
GCC 14 and GCC 15; the first change is only needed on GCC 15 and master.

That said, the first patch won't apply cleanly to GCC 15 (since 
target-supports.exp
has changed slightly since then), but the same idea applies trivially.

I've bootstrapped and regtested the changes for each branch (including master) 
on
aarch64-linux-gnu, OK?

Thanks,
Spencer

Spencer Abson (2):
  aarch64: testsuite: Fix do-assemble tests for SME
  aarch64: Prevent streaming-compatible code from assembler rejection
    [PR121028]

 gcc/config/aarch64/aarch64-sme.md             | 12 ++++-
 .../gcc.target/aarch64/sme/call_sm_switch_1.c |  4 +-
 .../aarch64/sme/call_sm_switch_11.c           |  5 +-
 .../gcc.target/aarch64/sme/pr121028.c         | 46 +++++++++++++++++++
 gcc/testsuite/lib/target-supports.exp         | 24 +++++++++-
 5 files changed, 83 insertions(+), 8 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sme/pr121028.c

-- 
2.34.1

Reply via email to