aarch64: testsuite: disable stack protector for auto-init-7.c
authorXi Ruoyao <xry111@xry111.site>
Sat, 24 Sep 2022 06:38:31 +0000 (14:38 +0800)
committerXi Ruoyao <xry111@xry111.site>
Tue, 7 Mar 2023 07:37:00 +0000 (15:37 +0800)
commit4c59cfc4a4da579d60bfd82404e3ff51c72aca79
tree53f84520b583b584c10040bd074c22e88eae8337
parent2fa31207ea602d48b8f69982e0bde1d143e54ecb
aarch64: testsuite: disable stack protector for auto-init-7.c

The test scans for "const_int 0" in the RTL dump, but stack protector
can produce more "const_int 0".  To avoid a failure with
--enable-default-ssp, disable stack protector for this.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/auto-init-7.c (dg-options): Add
-fno-stack-protector.
gcc/testsuite/gcc.target/aarch64/auto-init-7.c