public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-9703] aarch64: testsuite: disable stack protector for pr103147-10 tests
@ 2023-06-15 10:27 Xi Ruoyao
  0 siblings, 0 replies; only message in thread
From: Xi Ruoyao @ 2023-06-15 10:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:df39444ecfb2eaca1b24a52c6fc54e7ef70d5e98

commit r12-9703-gdf39444ecfb2eaca1b24a52c6fc54e7ef70d5e98
Author: Xi Ruoyao <xry111@xry111.site>
Date:   Sat Sep 24 14:23:10 2022 +0800

    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.
    
    (cherry picked from commit 2fa31207ea602d48b8f69982e0bde1d143e54ecb)

Diff:
---
 gcc/testsuite/g++.target/aarch64/pr103147-10.C | 2 +-
 gcc/testsuite/gcc.target/aarch64/pr103147-10.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/g++.target/aarch64/pr103147-10.C b/gcc/testsuite/g++.target/aarch64/pr103147-10.C
index 914fdf9c692..e12771533f7 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 <arm_neon.h>
diff --git a/gcc/testsuite/gcc.target/aarch64/pr103147-10.c b/gcc/testsuite/gcc.target/aarch64/pr103147-10.c
index b2c34e4155d..57942bfd10a 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 <arm_neon.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-15 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 10:27 [gcc r12-9703] aarch64: testsuite: disable stack protector for pr103147-10 tests Xi Ruoyao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).