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.
This commit is contained in:
Rainer Orth 2021-10-26 13:51:36 +02:00
parent 6adfdff68b
commit de185d7176
2 changed files with 2 additions and 2 deletions

View file

@ -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
{

View file

@ -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
{