]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64/testsuite: fix auto-init-padding-[24].c testcases [PR122402]
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 24 Oct 2025 20:43:24 +0000 (13:43 -0700)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 24 Oct 2025 20:50:33 +0000 (13:50 -0700)
commit33f8e30e0af142eef40e1fd28fa92a23ecac5b47
treeafbb5fabd6a1a0f0fceb8c38faeaf55ba0df6060
parentb1c2006077085a12b26c93cbc745508ba096be0a
aarch64/testsuite: fix auto-init-padding-[24].c testcases [PR122402]

After r16-3956-gf613fdc6920c83, these 2 testcases start to fail as
now SRA will fully scalarize the structs and only provide with the piece
that was used. But the testcase is testing about the padding so turning
off SRA is correct in this case.

Pushed as obvious after testing the testcases now pass.

PR target/122402
gcc/testsuite/ChangeLog:

* gcc.target/aarch64/auto-init-padding-2.c: Turn off SRA.
* gcc.target/aarch64/auto-init-padding-4.c: Likewise.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.target/aarch64/auto-init-padding-2.c
gcc/testsuite/gcc.target/aarch64/auto-init-padding-4.c