public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4708] testsuite: i386: Use -fomit-frame-pointer for gcc.target/i386/pr100704-1.c etc.
@ 2021-10-26 11:57 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2021-10-26 11:57 UTC (permalink / raw)
  To: gcc-cvs

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

commit r12-4708-gde185d7176795b84f9d23f921442fddce8dfdd9a
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Tue Oct 26 13:51:36 2021 +0200

    testsuite: i386: Use -fomit-frame-pointer for gcc.target/i386/pr100704-1.c etc.
    
    gcc.target/i386/pr100704-[12].c currently FAIL on 64-bit Solaris/x86:
    
    FAIL: gcc.target/i386/pr100704-1.c scan-assembler-not pushq
    FAIL: gcc.target/i386/pr100704-2.c scan-assembler-not pushq
    
    Fixed by compiling with -fomit-frame-pointer.
    
    Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.
    
    2021-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
    
            gcc/testsuite:
            * gcc.target/i386/pr100704-1.c: Add -fomit-frame-pointer to
            dg-options.
            * gcc.target/i386/pr100704-2.c: Likewise.

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

diff --git a/gcc/testsuite/gcc.target/i386/pr100704-1.c b/gcc/testsuite/gcc.target/i386/pr100704-1.c
index 02461db9695..b292dc25281 100644
--- a/gcc/testsuite/gcc.target/i386/pr100704-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr100704-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ! ia32 } } } */
-/* { dg-options "-O2 -march=x86-64" } */
+/* { dg-options "-O2 -fomit-frame-pointer -march=x86-64" } */
 
 struct S
 {
diff --git a/gcc/testsuite/gcc.target/i386/pr100704-2.c b/gcc/testsuite/gcc.target/i386/pr100704-2.c
index 07b9bd18c7a..d0106586e42 100644
--- a/gcc/testsuite/gcc.target/i386/pr100704-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr100704-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ! ia32 } } } */
-/* { dg-options "-O2 -march=x86-64" } */
+/* { dg-options "-O2 -fomit-frame-pointer -march=x86-64" } */
 
 struct S
 {


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

only message in thread, other threads:[~2021-10-26 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 11:57 [gcc r12-4708] testsuite: i386: Use -fomit-frame-pointer for gcc.target/i386/pr100704-1.c etc Rainer Orth

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