From patchwork Wed Jan 24 09:01:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 191432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp860969dyi; Wed, 24 Jan 2024 01:02:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaylE9jpIw/FjN6xFvWWgKbz/+5cEPiPpwdVvQm1U++B6ormwbCk6ZTaMaNI2DYTVXIWo5 X-Received: by 2002:a05:620a:b15:b0:783:72be:ad7b with SMTP id t21-20020a05620a0b1500b0078372bead7bmr1227403qkg.49.1706086921093; Wed, 24 Jan 2024 01:02:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706086921; cv=pass; d=google.com; s=arc-20160816; b=VIMgFXRvV6xlzfjOr28TkuXxTIxY4TYQ3IY/Gnld0JrRpQvx+6q+Kn0Hj8/bAEch8V n3PgukPgNDZ7/ZFlWHQl/HNmPxtvbjjQriLRn1PcZX0K7ciMkiFR4OnLifpLVFSQurR6 nRG34FClflhz6EOZy9hx0NYS5w0b+69VbbsigdVRkbbd8c7UKblfbAVxhSxorc33vHdX P3iGnSHsmBShBxcfEz/6iWiZZwtRTrpg36EFO7TV/mjeuq8lbAYF5XDjW0iUtDav+dqN 2xhOp5favhvUHlxsDPLzyJvu2XftoGEcEK/wLV4OLJKilppEBE4ORWrNvB0doHgiknE5 G4eg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:cc:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=SXkU40AkvJQDSiOqukTUWn7198w8wgDaPJ4BFNExRnw=; fh=3f6B6N91nSAucgsT7EeGtoEgsgTAU1UpdpsQgBLTokE=; b=hmJwB9JXqrQ4oAr3VTwoYiwvp/0UyMSFtriM+V3FQJu8XP14kYcl1e1ThEcaRvceog Er1jCPL+CtxtOYXow1DOjkLs4GFplm/8BY/t04c9qUXBd+TvM/lz4nyTjpisc8Bjw+Om XoNEURw8uJSwzPEPcvx6q7CjNjaHikhDNVoUfrPhZRQ5T5Cn1Yc8ZuZjIo2zPVXZ/N2l +aBv6d/ZTRceE3VhiP9viUkcFF4+Fock37abAEkuuOy/9Oya3DXQUVyEMzAIuZ5VeCb7 Ulu7g528L2Eq8u2fFBlKrpT8dSQkmWSsJHykkKF+LFQCVkIep+o8AZvr6VQHkQsjV06m Aiyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=aJ2H3cQY; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id oq41-20020a05620a612900b00783a08bdc2dsi5706376qkn.782.2024.01.24.01.02.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 01:02:01 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=aJ2H3cQY; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C5C63385842A for ; Wed, 24 Jan 2024 09:02:00 +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 A50D43858C2C for ; Wed, 24 Jan 2024 09:01:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A50D43858C2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A50D43858C2C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706086868; cv=none; b=d5WVdD+1e8BfHkv0izZFZSySvWp97YMU+z2NSzEhbbNiOUXzCZU4znmM2PuS6eYjp785lc2QOy6Cw78PTmyV8nWb3IDAV+su5zdaM+xAqQG1X0MdvYfAP5YikfWidzqbs1VIJSlsGgW9LU+WzB+miwwyQsqTjXBaYMQJA3OjcDI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706086868; c=relaxed/simple; bh=1abSuvIOsdhamfGCDK9k0g56+hQjFhFZ1v3zMcXWE5I=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=o/mQCiDwB/1Bvi9Uz2TD1gSlvRzgFyzskbPIb31lL5VJUNFL8DAYhoH2a+7synIXhYJ4l+a38Zc5Gdhr6oeJsLv4/+CN2hALXmWdiRKh7n916F0FpZIOxXUevrsrV6YeUsH7TM4WtWEfk+bmB+olXx7OZtBYZalTS52xyMfJc38= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 467C2AB317; Wed, 24 Jan 2024 10:01:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1706086864; bh=1abSu vIOsdhamfGCDK9k0g56+hQjFhFZ1v3zMcXWE5I=; b=aJ2H3cQYAzxQEsaRLScfi wBZcilrJkwxJZWOOFaz2VeqO3CCZXrvTmw9XiQwH8OYFKLSgVMuNIoLCbb+zWcWw RaMA516kgtghCbIa2C2iJlQpUSB7KQAEzAnI5W09ICktIaFoyo5mWvn4ws1lUg9+ xrAEgySvdh8gZPrEA2Hu1LxgdJfnolekvq6w+F3IRH29LomFY3jwTkm6zq2SpwD9 /h8GgcuJaLLn5J+vpfxRwpo6hHm7toIIWKuskueNQMfB78WOFCnk6V/XNlnS61f0 OUP3JCfxk3pxidraQuL1dCaAVo1gSaOvNWe52WApaw5x+XM+7YLVOtlrTUZd60Ir A== 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 10026) with ESMTP id efDgaeNsDrXq; Wed, 24 Jan 2024 10:01:04 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5085539e.dip0.t-ipconnect.de [80.133.83.158]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id C85E9AB040; Wed, 24 Jan 2024 10:01:04 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Roger Sayle Subject: [PATCH] testsuite: i386: Fix gcc.target/i386/pr70321.c on 32-bit Solaris/x86 Date: Wed, 24 Jan 2024 10:01:04 +0100 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=-3791.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_NUMSUBJECT, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788961799454823169 X-GMAIL-MSGID: 1788961799454823169 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. Ok for trunk? Rainer # HG changeset patch # Parent 229bf3d228cb30f17ea645f6f4b2e8f48d2cfa75 testsuite: i386: Fix gcc.target/i386/pr70321.c on 32-bit Solaris/x86 diff --git a/gcc/testsuite/gcc.target/i386/pr70321.c b/gcc/testsuite/gcc.target/i386/pr70321.c --- 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) {