From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1147) id 9EB1B3858D33; Thu, 1 Feb 2024 11:49:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9EB1B3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706788167; bh=Sw1kJyEvd0JB0Pix73VWMzkLlyfrQmT+CAMcCwg61WQ=; h=From:To:Subject:Date:From; b=art/rRrNJ7HJb3a0WL8m878yGccQBfh+KRVnQaejqK8wOV3aAEUkV2gyChw0CG8Hx FFp8NZGLKar9+HKJ5lFlAjQBGHevgCgZU2/0txHwmIt9SZVTfPt0DGDsQzR7MXBLSd pt89nB/uMnwFJmQ3RB2RYK49nkk7EXkOmE2G8d4c= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Rainer Orth To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8690] testsuite: i386: Fix gcc.target/i386/pr70321.c on 32-bit Solaris/x86 X-Act-Checkin: gcc X-Git-Author: Rainer Orth X-Git-Refname: refs/heads/master X-Git-Oldrev: e98edc6a3cdfcdad71a2f7be5818033ea15cdde7 X-Git-Newrev: ee7011eab67d8272f88e954bbab2e42bf6353441 Message-Id: <20240201114927.9EB1B3858D33@sourceware.org> Date: Thu, 1 Feb 2024 11:49:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:ee7011eab67d8272f88e954bbab2e42bf6353441 commit r14-8690-gee7011eab67d8272f88e954bbab2e42bf6353441 Author: Rainer Orth Date: Thu Feb 1 12:48:57 2024 +0100 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 43201f2c2173894bf7c423cad6da1c21567e06c0 Author: Roger Sayle 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 gcc/testsuite: * gcc.target/i386/pr70321.c: Add -fomit-frame-pointer to dg-options. Diff: --- gcc/testsuite/gcc.target/i386/pr70321.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr70321.c b/gcc/testsuite/gcc.target/i386/pr70321.c index 57552efe7a27..58f5f5661c7a 100644 --- a/gcc/testsuite/gcc.target/i386/pr70321.c +++ b/gcc/testsuite/gcc.target/i386/pr70321.c @@ -1,5 +1,5 @@ /* { dg-do compile { target ia32 } } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -fomit-frame-pointer" } */ void foo (long long ixi) {