From patchwork Mon Oct 25 13:42:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 46612 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 228EC3858420 for ; Mon, 25 Oct 2021 13:42:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id BA9EC3858402 for ; Mon, 25 Oct 2021 13:42:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA9EC3858402 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 79D6FB1C1D for ; Mon, 25 Oct 2021 15:42:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6k1js5QWbsBF for ; Mon, 25 Oct 2021 15:42:08 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p50855d38.dip0.t-ipconnect.de [80.133.93.56]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 1DC35B1ABB for ; Mon, 25 Oct 2021 15:42:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1635169328; bh=vyXFImIyWpE/oUsvMrf9NEhRogI0EVN73drVi9+77HU=; h=From:To:Subject:Date:From; b=SYnPGTYCR+JY/odYTXYHDKkvvL3ASNSmdT4/TFkyu2HW1eGw6vQVx1zPx5I/6WYEe BYRPqvhlDM2brGFC4aVywPXCTUigQaThrXQIfzCGTJ7RV0nvmuj7HVP1HsHuz3wBeG +NuyejOQwu1qjHk0WisIDoVDUcun8l2TnIEZqbMYx/neve6FxhP0PMa6fsy3CkoGPO REEJMzsvI+5IT9uV4ugNPZoruB9aMqSOESOAQGCFzHdVYVjy2LOAi1XHNIhZkP74JU Zf3QS2tUe/HQwYlo7iwhFsJ4vhePyD/a9ld+Yt4kKEKvXcave4QlIHW4BxvSTTloq4 iiWJK0QlfzTtw== From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [PATCH] testsuite: i386: Use -fomit-frame-pointer for gcc.target/i386/pr100704-1.c etc. Date: Mon, 25 Oct 2021 15:42:07 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3795.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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. Ok for master? Rainer # HG changeset patch # Parent 0bfb6ff336f41aa5422e34580f68d5cf27a1641c testsuite: i386: Use -fomit-frame-pointer for gcc.target/i386/pr100704-1.c etc. diff --git a/gcc/testsuite/gcc.target/i386/pr100704-1.c b/gcc/testsuite/gcc.target/i386/pr100704-1.c --- 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 --- 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 {