public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-9704] aarch64: testsuite: disable stack protector for auto-init-7.c
@ 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:868371e673de074565b5340f81049eb61d070b07

commit r12-9704-g868371e673de074565b5340f81049eb61d070b07
Author: Xi Ruoyao <xry111@xry111.site>
Date:   Sat Sep 24 14:38:31 2022 +0800

    aarch64: testsuite: disable stack protector for auto-init-7.c
    
    The test scans for "const_int 0" in the RTL dump, but stack protector
    can produce more "const_int 0".  To avoid a failure with
    --enable-default-ssp, disable stack protector for this.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/aarch64/auto-init-7.c (dg-options): Add
            -fno-stack-protector.
    
    (cherry picked from commit 4c59cfc4a4da579d60bfd82404e3ff51c72aca79)

Diff:
---
 gcc/testsuite/gcc.target/aarch64/auto-init-7.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/auto-init-7.c b/gcc/testsuite/gcc.target/aarch64/auto-init-7.c
index ac27fbe92f4..fde6e568532 100644
--- a/gcc/testsuite/gcc.target/aarch64/auto-init-7.c
+++ b/gcc/testsuite/gcc.target/aarch64/auto-init-7.c
@@ -1,6 +1,6 @@
 /* Verify zero initialization for array, union, and structure type automatic variables.  */
 /* { dg-do compile } */
-/* { dg-options "-ftrivial-auto-var-init=zero -fdump-rtl-expand" } */
+/* { dg-options "-ftrivial-auto-var-init=zero -fdump-rtl-expand -fno-stack-protector" } */
 
 struct S
 {

^ 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-9704] aarch64: testsuite: disable stack protector for auto-init-7.c 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).