testsuite: i386: Fix gcc.target/i386/pr70321.c on 32-bit Solaris/x86

gcc.target/i386/pr70321.c FAILs on 32-bit Solaris/x86 since its
introduction in

commit 43201f2c21
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Mon May 30 21:20:09 2022 +0100

    PR target/70321: Split double word equality/inequality after STV on x86.

FAIL: gcc.target/i386/pr70321.c scan-assembler-times mov 1

The failure happens because 32-bit Solaris/x86 defaults to
-fno-omit-frame-pointer.

Fixed by specifying -fomit-frame-pointer explicitly.

Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu.

2024-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	gcc/testsuite:
	* gcc.target/i386/pr70321.c: Add -fomit-frame-pointer to
	dg-options.
This commit is contained in:
Rainer Orth 2024-02-01 12:48:57 +01:00
parent e98edc6a3c
commit ee7011eab6

View file

@ -1,5 +1,5 @@
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
void foo (long long ixi)
{