From: Xi Ruoyao Date: Sat, 24 Sep 2022 06:23:10 +0000 (+0800) Subject: aarch64: testsuite: disable stack protector for pr103147-10 tests X-Git-Tag: basepoints/gcc-14~687 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa31207ea602d48b8f69982e0bde1d143e54ecb;p=thirdparty%2Fgcc.git aarch64: testsuite: disable stack protector for pr103147-10 tests 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. --- diff --git a/gcc/testsuite/g++.target/aarch64/pr103147-10.C b/gcc/testsuite/g++.target/aarch64/pr103147-10.C index 914fdf9c6924..e12771533f76 100644 --- a/gcc/testsuite/g++.target/aarch64/pr103147-10.C +++ b/gcc/testsuite/g++.target/aarch64/pr103147-10.C @@ -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 diff --git a/gcc/testsuite/gcc.target/aarch64/pr103147-10.c b/gcc/testsuite/gcc.target/aarch64/pr103147-10.c index b2c34e4155db..57942bfd10a4 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr103147-10.c +++ b/gcc/testsuite/gcc.target/aarch64/pr103147-10.c @@ -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