From: Xi Ruoyao Date: Sat, 24 Sep 2022 06:50:03 +0000 (+0800) Subject: aarch64: testsuite: disable stack protector for pr104005.c X-Git-Tag: vendors/ARM/release-12.3.rel1~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd0b91e1dfa6a60e7e7981207c43695f0ba422a1;p=thirdparty%2Fgcc.git aarch64: testsuite: disable stack protector for pr104005.c 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) --- diff --git a/gcc/testsuite/gcc.target/aarch64/pr104005.c b/gcc/testsuite/gcc.target/aarch64/pr104005.c index 09dd81910eba..9f1ef2dc3081 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr104005.c +++ b/gcc/testsuite/gcc.target/aarch64/pr104005.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -funroll-loops" } */ +/* { dg-options "-O2 -funroll-loops -fno-stack-protector" } */ typedef int v2 __attribute__((vector_size(8)));