From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 421803858D33 for ; Wed, 15 May 2024 11:14:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 421803858D33 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 421803858D33 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=1715771681; cv=none; b=SBNhy9XHtl6VDt2d+wTDHzpJnTY0ae4FqswWwJbxHaIvNgOQwcGTztrev/7fWyAV39/oC3Fsw+nKRDnjJ9npkq6B0Z9JHwby74/pJAkZ68kwnWFOsWTjSViUQSpijwbEFJPT19xvoXz6OxTJHuQ40DTEhbF1UUeVkeDc4J82to4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715771681; c=relaxed/simple; bh=a4+0/Nvvg8VDGRvOfj2Xa+YwOxkaoHX9XGSKPeJOHhI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ON91Je+zBQz6N6g9kwqNa6OhOQfRkn3zl1fkYSVzPRKUyy+Ew6CZb1dYgj0Gb46FpPBgq9KaPZq7Lr+u3DqFNL4bNdtXsGE3r7LoEN5kwU5Wpuwf/RPl8VHKFtp1sv/EH1ylkV7Ns//cuWT0fv3uTYgPLLRIdMN70k3oud16UYc= 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 5D2C5A8DAD for ; Wed, 15 May 2024 13:14:35 +0200 (CEST) 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=1715771675; bh=a4+0/ Nvvg8VDGRvOfj2Xa+YwOxkaoHX9XGSKPeJOHhI=; b=e42PN54MsZw0SSL18c1bB aW9eGIWdWdI9uZE00u3T075qlja1g+bMcFfv2veiFa9O3jLG0CZAxZvpeHXIinJP We4fswcsbQhLXcvwumr2scyZ4vcxttCwtsCGeEAFuK1hxiY+EvkxIF5rcRIioyKa eTI8k/QVKIzciLV7co+LTPk96Y/PgWhLVkqPO1MtJrVP/JuB4FfdX2Y5Bo1Hk8Ai q7Ip3xL6HoJKuVitkia6SN42K5Qybmuw8PFfq/++9Dpb83pxTqarbffKo0PH7IiW Gvw9c2Omgv86hBWXemdzTxHRSmp28o/G8pmhC4o610kh7sjoimmGSFsv++oO0w7p w== 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 vAa7n5QvZrB3 for ; Wed, 15 May 2024 13:14:35 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508551cc.dip0.t-ipconnect.de [80.133.81.204]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id DDE2DA8BC4 for ; Wed, 15 May 2024 13:14:34 +0200 (CEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [COMMITTED] testsuite: i386: Fix g++.target/i386/pr97054.C on Solaris Date: Wed, 15 May 2024 13:14:34 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Status: No, score=-3789.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-=-= Content-Type: text/plain g++.target/i386/pr97054.C currently FAILs on 64-bit Solaris/x86: FAIL: g++.target/i386/pr97054.C -std=gnu++14 (test for excess errors) UNRESOLVED: g++.target/i386/pr97054.C -std=gnu++14 compilation failed to produce executable FAIL: g++.target/i386/pr97054.C -std=gnu++17 (test for excess errors) UNRESOLVED: g++.target/i386/pr97054.C -std=gnu++17 compilation failed to produce executable FAIL: g++.target/i386/pr97054.C -std=gnu++2a (test for excess errors) UNRESOLVED: g++.target/i386/pr97054.C -std=gnu++2a compilation failed to produce executable FAIL: g++.target/i386/pr97054.C -std=gnu++98 (test for excess errors) UNRESOLVED: g++.target/i386/pr97054.C -std=gnu++98 compilation failed to produce executable Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/g++.target/i386/pr97054.C:49:20: error: frame pointer required, but reserved Since Solaris/x86 defaults to -fno-omit-frame-pointer, this patch explicitly builds with -fomit-frame-pointer as is the default on other x86 targets. Tested on i386-pc-solaris2.11 (32 and 64-bit) and x86_64-pc-linux-gnu. Committed to trunk. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2024-05-15 Rainer Orth gcc/testsuite: * g++.target/i386/pr97054.C (dg-options): Add -fomit-frame-pointer. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=solx64-testsuite-pr97054.patch # HG changeset patch # Parent 4a47ed944a7c277f84f13551c7413f481a71877e testsuite: i386: Fix g++.target/i386/pr97054.C on Solaris diff --git a/gcc/testsuite/g++.target/i386/pr97054.C b/gcc/testsuite/g++.target/i386/pr97054.C --- a/gcc/testsuite/g++.target/i386/pr97054.C +++ b/gcc/testsuite/g++.target/i386/pr97054.C @@ -1,6 +1,6 @@ // { dg-do run { target { ! ia32 } } } // { dg-require-effective-target fstack_protector } -// { dg-options "-O2 -fno-strict-aliasing -msse4.2 -mfpmath=sse -fPIC -fstack-protector-strong -O2" } +// { dg-options "-O2 -fno-strict-aliasing -msse4.2 -mfpmath=sse -fPIC -fstack-protector-strong -O2 -fomit-frame-pointer" } struct p2_icode *ipc; register int pars asm("r13"); --=-=-=--