From patchwork Thu May 9 09:27:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 1933378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QtloVU9j; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VZmrt2QyPz20fc for ; Thu, 9 May 2024 19:27:58 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8269D384AB5C for ; Thu, 9 May 2024 09:27:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 03E643858CDA for ; Thu, 9 May 2024 09:27:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 03E643858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 03E643858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715246856; cv=none; b=U3VaNXO+1BlHmcPXuQa2NibZwS+co8sytLPr4a+ZRWIFnZVNBM948OcF7wYQeiSLCh5DCBSLCbjRfRyV0C5h8J0GfDIBXdWkWwOdI5uxR/7HPGwwvdTBz7IbGk52CteWNY+HBk/DEO+mTsomFhCbWqwstvh3+0A4MHYpjHfe1/c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715246856; c=relaxed/simple; bh=QJ5LRixXo0y7JrzQedxZ7+NQ6erMSR3UvjBBcvyTeB8=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=nUKuDAgzHcS4XYoK9L8q0CmJNGH4uq+te1MUPP0q7hGA8rHnrdP19+qOxSyKy8nrMRKRGBAfzh7qiIVOVDziwkUp90r2Foz/hqhwTo28MA2UbJvt10d+hopFLnCufSncU8Dk9Dz6x4+MgejXIb4kd5JQZSuMKoV71wBA3+gtTYo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715246854; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=Lhaha2rFOIX92FP7CmSBIiim0d+4fOk97vaTMYY8dbk=; b=QtloVU9jPHTVScsLjbXf3Z+8KXVMNGDN5xl0NG5IDaGsGXqEQekslu8hexZDFpDZFrAIvM KJWC49ngXt4vovNw5b2ehgdKoVwuS+hNgwL9miF5dv9XN0IezSCGE4LwF12AfOqJ+68UOj aaPRPT+xeq0plRjxELN/S4ZtBS/V7/8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-515-FacR8-wvNZa8mnQAwuX1ow-1; Thu, 09 May 2024 05:27:31 -0400 X-MC-Unique: FacR8-wvNZa8mnQAwuX1ow-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EF9D1800262; Thu, 9 May 2024 09:27:30 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B431C1002043; Thu, 9 May 2024 09:27:30 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 4499RTtw1886521 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 9 May 2024 11:27:29 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 4499RTEe1886520; Thu, 9 May 2024 11:27:29 +0200 Date: Thu, 9 May 2024 11:27:28 +0200 From: Jakub Jelinek To: Andrew Pinski Cc: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 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: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Hi! The test FAILs on i686-linux due to .../gcc/testsuite/g++.dg/torture/vector-subaccess-1.C:16:6: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi] excess warnings. This fixes it by adding -Wno-psabi, like commonly done in other tests. Committed to trunk as obvious after testing it on x86_64-linux with make check-g++ RUNTESTFLAGS='--target_board=unix\{-m32/-mno-sse,-m32,-m64\} dg-torture.exp=vector-subaccess-1.C' and backported all the way to 11 branch. 2024-05-09 Jakub Jelinek PR c++/89224 * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional options. Jakub --- gcc/testsuite/g++.dg/torture/vector-subaccess-1.C.jj 2024-05-08 10:16:54.045823642 +0200 +++ gcc/testsuite/g++.dg/torture/vector-subaccess-1.C 2024-05-09 11:16:46.730114871 +0200 @@ -1,4 +1,5 @@ /* PR c++/89224 */ +/* { dg-additional-options "-Wno-psabi" } */ /* The access of `vector[i]` has the same qualifiers as the original vector which was missing. */