public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10028] [testsuite] [i386] work around fails with --enable-frame-pointer
@ 2024-04-18 11:15 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2024-04-18 11:15 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0ea96af1150c221092a0880af51dbe66b75ecb03

commit r14-10028-g0ea96af1150c221092a0880af51dbe66b75ecb03
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Apr 18 08:01:40 2024 -0300

    [testsuite] [i386] work around fails with --enable-frame-pointer
    
    A few x86 tests get unexpected insn counts if the toolchain is
    configured with --enable-frame-pointer.  Add explicit
    -fomit-frame-pointer so that the expected insn sequences are output.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/i386/pr107261.c: Add -fomit-frame-pointer.
            * gcc.target/i386/pr69482-1.c: Likewise.
            * gcc.target/i386/pr69482-2.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr107261.c  | 2 +-
 gcc/testsuite/gcc.target/i386/pr69482-1.c | 2 +-
 gcc/testsuite/gcc.target/i386/pr69482-2.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr107261.c b/gcc/testsuite/gcc.target/i386/pr107261.c
index eb1d232fbfc..b422af9cbf9 100644
--- a/gcc/testsuite/gcc.target/i386/pr107261.c
+++ b/gcc/testsuite/gcc.target/i386/pr107261.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -msse2" } */
+/* { dg-options "-O2 -msse2 -fomit-frame-pointer" } */
 
 typedef __bf16 v4bf __attribute__ ((vector_size (8)));
 typedef __bf16 v2bf __attribute__ ((vector_size (4)));
diff --git a/gcc/testsuite/gcc.target/i386/pr69482-1.c b/gcc/testsuite/gcc.target/i386/pr69482-1.c
index 99bb6ad5a37..7ef0e71b17c 100644
--- a/gcc/testsuite/gcc.target/i386/pr69482-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr69482-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fno-stack-protector" } */
+/* { dg-options "-O3 -fno-stack-protector -fomit-frame-pointer" } */
 
 static inline void memset_s(void* s, int n) {
   volatile unsigned char * p = s;
diff --git a/gcc/testsuite/gcc.target/i386/pr69482-2.c b/gcc/testsuite/gcc.target/i386/pr69482-2.c
index 58e89a79333..6aabe4fb393 100644
--- a/gcc/testsuite/gcc.target/i386/pr69482-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr69482-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fomit-frame-pointer" } */
 
 void bar ()
 {

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

only message in thread, other threads:[~2024-04-18 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 11:15 [gcc r14-10028] [testsuite] [i386] work around fails with --enable-frame-pointer Alexandre Oliva

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).