]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: testsuite: disable stack protector for pr104005.c
authorXi Ruoyao <xry111@xry111.site>
Sat, 24 Sep 2022 06:50:03 +0000 (14:50 +0800)
committerXi Ruoyao <xry111@xry111.site>
Thu, 15 Jun 2023 10:20:19 +0000 (18:20 +0800)
Storing stack guarding variable need one stp instruction, breaking the
scan-assembler-not pattern in the test.  Disable stack protector to
avoid a test failure with --enable-default-ssp.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/pr104005.c (dg-options): Add
-fno-stack-protector.

(cherry picked from commit 5937cfb981debb2aeb72a1ed255fc3ed5a5835c4)

gcc/testsuite/gcc.target/aarch64/pr104005.c

index 09dd81910eba56524fb2b15f9de46c91b9daf51b..9f1ef2dc3081865b956166b8c2999709d7e79423 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-options "-O2 -funroll-loops" } */
+/* { dg-options "-O2 -funroll-loops -fno-stack-protector" } */
 
 typedef int v2 __attribute__((vector_size(8)));