aarch64: testsuite: disable stack protector for pr103147-10 tests
authorXi Ruoyao <xry111@xry111.site>
Sat, 24 Sep 2022 06:23:10 +0000 (14:23 +0800)
committerXi Ruoyao <xry111@xry111.site>
Tue, 7 Mar 2023 07:37:00 +0000 (15:37 +0800)
Stack protector influence code generation and cause function body checks
fail.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/pr103147-10.c (dg-options): Add
-fno-stack-protector.
* g++.target/aarch64/pr103147-10.C: Likewise.

gcc/testsuite/g++.target/aarch64/pr103147-10.C
gcc/testsuite/gcc.target/aarch64/pr103147-10.c

index 914fdf9..e127715 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-options "-O2 -fpack-struct -mstrict-align" } */
+/* { dg-options "-O2 -fpack-struct -mstrict-align -fno-stack-protector" } */
 /* { dg-final { check-function-bodies "**" "" "" } } */
 
 #include <arm_neon.h>
index b2c34e4..57942bf 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-options "-O2 -fpack-struct -mstrict-align" } */
+/* { dg-options "-O2 -fpack-struct -mstrict-align -fno-stack-protector" } */
 /* { dg-final { check-function-bodies "**" "" "" } } */
 
 #include <arm_neon.h>