From patchwork Wed Jan 31 12:50:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 194732 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1863418dyb; Wed, 31 Jan 2024 04:51:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWUJDWue8iOJj5WaqITF3g+9ohq1oQ0LtMWCuHnHPB9hYDCAtgNICspvsOu3KErqz9SJNN X-Received: by 2002:a05:622a:1a84:b0:42b:ecc3:d1ad with SMTP id s4-20020a05622a1a8400b0042becc3d1admr805288qtc.9.1706705481993; Wed, 31 Jan 2024 04:51:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706705481; cv=pass; d=google.com; s=arc-20160816; b=nLpXfu+xYtbE+L2Bv015w7T63yIXYAcRg/GUwpMWoo7Ai/bwluWIKJKeYBwTt869M+ NrOuEcaEyWtUw6V7VS093FfZqzudBZvHYv+CWAXT2CYLancd3neMHDu7HrbNNTiMGkJS y4lZRMl2mj6GEHV2LIM1aGSx3KBcf18iLV85cAtk8ZJv1AuLcBkxUp/fojDbNjWfLhXb wsK6IpQ6ztTq/fYcJhqF1sQDaI4458CqSw+77Zw38tcVni5WJWn224AKo1F8Lt5FAqxa 2givEChBiXN2P4HhzfbYXbj9lJIXL4ChlFH/5fz6URYfn8f4qb3pKFI79HuliognzmbT pP0g== 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=eohHQBwe0EDKQugmnF7/+eGYBAtp4MbxJ3eAjDs5zhY=; fh=oHZ3UbEFux/ebHksAy77jmHctPb4zKwg2+UANdSeU0c=; b=xGehqHOsu4PGyhtNn9yIAiFJHDhtmbzOe+3m5hHOIfbjJvIF+x4PERAJ/d43s633YF L4WjJS5NQIpI9wBuu+jGkNoQrEVPAtkkpO0sGYuTn3tflYmyc3RRyntAhscLAmIsHm9M 6fFZSRJpX9MgE3Z33xHQdDLUxpIpD5dJ3d3QWdI5i3RSYye8Xno+iqJsY7HizwSgYuT0 Gwn3Yqku+pJUmUwEgDtGRnL2ZDnnK1ULvXE3Vi4xxuLFCAE647jYtvpQ6E4X5e3WyDEM wac3VJmEe/zjx9IjBHS4HXh13EIF7HsWg+W6PWDAYXoLmms3ecmTYOTsxACK3OjXwJS2 S3iQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=MpOtw74N; 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" X-Forwarded-Encrypted: i=1; AJvYcCWvKxS2HwkkRBTmTUYT3d8AH36skWedBWC99xR0WPICoVTGi+UJpYoErXVe354VxSngtLEM04MnJiMgz4kAYiiM9GFPdg== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id w9-20020ac857c9000000b0042a8b578521si10048732qta.304.2024.01.31.04.51.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 04:51:21 -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=MpOtw74N; 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 A691F3858C78 for ; Wed, 31 Jan 2024 12:51:21 +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 DA0F03858D1E for ; Wed, 31 Jan 2024 12:50:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DA0F03858D1E 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 DA0F03858D1E 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=1706705437; cv=none; b=wPXWZOjalE57DdyF3hWB8EMABotQY7BjA/Oab2DwauoUEXGAoRUMhpfuC6FDmI82Qs9/BqN7JV22tO5VTaEptLPdP6PCN02JL4qhVidm7U15Y05OROHwyWFKPb/f/z1uCU/4ZCzueldgjzhmIJP965MuHTylu3APftEq9HQJMGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706705437; c=relaxed/simple; bh=KkLjBf2w1PJIjo6saU0HwsgHNrMCevGj8x5s9wb9poc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=FEvY+vpl8fNU9yPQvezf5+H917I3vOl3BBgROYmk9QRVP16d6JPDFbtJysXj18oRzJ4UPvIymyafn7zmD57ccBJUyN6J/RdALeGVA0oBqbjE4Ma6WO9+9B7CLq6BRjmZcVVowpIq8olprXl9ww/9zsPeoBnd0DATO6QxbyHbXEk= 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 C6935609EB; Wed, 31 Jan 2024 13:50:34 +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=1706705433; bh=KkLjB f2w1PJIjo6saU0HwsgHNrMCevGj8x5s9wb9poc=; b=MpOtw74NryEfCY/eBlUNh QHH/RRQ36QbNF+beb+FWIqaWD6vVmK3fp0QgZfarwNMqCH2+aahhKZJ35cGlYg/O fOAFc4fWKh7EA0UNT8kwLvPkArwoeho0WDpdnpG5wE2Kb3CrrtuCK4qeoPEaq2Au vFB5YA5nOzT2trVyR9IQbYGLi3ItoIEgi6fCTZRGIc421HVWojJxdB85pGNfTRB2 f6pZvILJz8FzMadi46aNBQ34d3INsO6BujhGcJXvQ+UDEzkvJ+Z4eEPHa40X5Dv3 FLfzgVVS4/af2fuqREjbEc4prXcPlGXF0/SgwunZwe0ufVWukX6O6ApwMY9h/Cua 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 Q0ru4ohqSnGX; Wed, 31 Jan 2024 13:50:33 +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 B20BC607FF; Wed, 31 Jan 2024 13:50:33 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Qing Zhao , Uros Bizjak Subject: [PATCH] testsuite: i386: Disable .eh_frame in gcc.target/i386/auto-init-5.c etc. Date: Wed, 31 Jan 2024 13:50:33 +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.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, 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: 1789610407727428489 X-GMAIL-MSGID: 1789610407727428489 The gcc.target/i386/auto-init-5.c and gcc.target/i386/auto-init-6.c tests FAIL on 64-bit Solaris/x86 with the native assembler: FAIL: gcc.target/i386/auto-init-5.c scan-assembler-times \\\\.long\\t0 14 FAIL: gcc.target/i386/auto-init-6.c scan-assembler-times long\\t0 8 /bin/as doesn't fully support the CFI directives, so the .eh_frame sections are emitted directly and contain .long. Since .eh_frame doesn't matter for those tests, this patch disables its generation in the first place. Tested on i386-pc-solaris2.11 (as and gas) and i686-pc-linux-gnu. Ok for trunk? Rainer # HG changeset patch # Parent 5486f016175658d0c7c2de48c893e9fbd68d3493 testsuite: i386: Disable .eh_frame in gcc.target/i386/auto-init-5.c etc. diff --git a/gcc/testsuite/gcc.target/i386/auto-init-5.c b/gcc/testsuite/gcc.target/i386/auto-init-5.c --- a/gcc/testsuite/gcc.target/i386/auto-init-5.c +++ b/gcc/testsuite/gcc.target/i386/auto-init-5.c @@ -1,6 +1,6 @@ /* Verify zero initialization for complex type automatic variables. */ /* { dg-do compile } */ -/* { dg-options "-ftrivial-auto-var-init=zero" } */ +/* { dg-options "-ftrivial-auto-var-init=zero -fno-asynchronous-unwind-tables" } */ _Complex long double result; diff --git a/gcc/testsuite/gcc.target/i386/auto-init-6.c b/gcc/testsuite/gcc.target/i386/auto-init-6.c --- a/gcc/testsuite/gcc.target/i386/auto-init-6.c +++ b/gcc/testsuite/gcc.target/i386/auto-init-6.c @@ -2,7 +2,7 @@ /* Note, _Complex long double is initialized to zeroes due to the current implemenation limitation. */ /* { dg-do compile } */ -/* { dg-options "-ftrivial-auto-var-init=pattern -march=x86-64 -mtune=generic -msse" } */ +/* { dg-options "-ftrivial-auto-var-init=pattern -march=x86-64 -mtune=generic -msse -fno-asynchronous-unwind-tables" } */ _Complex long double result;