From patchwork Wed Nov 6 09:39:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Torbjorn SVENSSON X-Patchwork-Id: 2007375 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector1 header.b=vMMhSm2P; 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 4Xk0rk5T2dz1xyD for ; Wed, 6 Nov 2024 20:53:23 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BEE673858430 for ; Wed, 6 Nov 2024 09:53:18 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by sourceware.org (Postfix) with ESMTPS id 8DE343858D21 for ; Wed, 6 Nov 2024 09:52:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8DE343858D21 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=foss.st.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8DE343858D21 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730886775; cv=none; b=irMSrlXA/zKuTeKN8E6e99Xs8X68Et2T9NMWuCNUi+oeugMp1kWrwVxKVTGmzyzXntMTlfKt/VjyFcVhYJ6nw0/7TGxVIET2KcKlrffN9jIhV6N3XAJ+XC/VZ2geS3k1SP7Yixg3b2+VYbZcLl2eKgNtr/0vYGxxMCWKk9zWmnw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730886775; c=relaxed/simple; bh=Gvys//QsHf53QM9NkDoz3+g+nD/4RuZQFkuu5OPmY6Y=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Ksm5VtjHRjQbzqN76nIvHuIE766gXjW0S4vn3Ix4RwT5+ijFgWVfrPeJ7anVfOed4ZvD7b3Z4gdHtpB8nfrDdXWK0qxIJg3TaHG0tSAalEyjzMZbkWcjQGqRj93ZRndonVbhGpH3jchMwVPLwjvX/BirNXOrTNRo9fmeejoZPiA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A68p7AE005420; Wed, 6 Nov 2024 10:52:46 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=RrGwfVZcVwv2hJ95hZdx1Z 99b30D0OzetH6DxYLy8aQ=; b=vMMhSm2PylT2LRvFQIlTWwy5C9xsMA0nM2WWr6 RceXB3OFptsazgI0kPgr3jBHE5yoQylLas2dzZOYK50O3EB/g35F4E6F9fXenBIw DFLd7RSl0Csa69DExWG08xDKoPv6sWTKTQK9nTGqLnLro53H7L0aHGmQ5TuJlK6r iPu5U5ddVdhjVv8b8b+Rmav33LxrH2FbXJ2z0jEuejU0hE6xPtD9NrbZPmg47BP5 ErU+OymsXBAKNtfGepjgB0IZPuqP37vrEVgSMJpKs9yLaSjzsWEeOMdNxN3kUSbQ CBUsMV1TAc9YzAHPeipvqQGsodFkeb0fQwBaJ0QUig3ELzew== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 42nd05ge9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Nov 2024 10:52:46 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 99C6340047; Wed, 6 Nov 2024 10:52:11 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5C17D238C4E; Wed, 6 Nov 2024 10:52:01 +0100 (CET) Received: from jkgcxl0004.jkg.st.com (10.74.22.255) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Wed, 6 Nov 2024 10:52:01 +0100 From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= To: CC: , =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= Subject: [PATCH] testsuite: arm: Use effective-target for pr84556.cc test Date: Wed, 6 Nov 2024 10:39:26 +0100 Message-ID: <20241106093925.4042292-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.74.22.255] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 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~incoming=patchwork.ozlabs.org@gcc.gnu.org Ok for trunk and releases/gcc-14? --- Using "dg-do run" with a selector breaks testing arm-none-eabi for any architecture when check_effective_target_arm_neon_hw returns 0. gcc/testsuite/ChangeLog: * g++.dg/vect/pr84556.cc: Change from "dg-do run" with selector to instead use dg-require-effective-target with the same selector. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/vect/pr84556.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/vect/pr84556.cc b/gcc/testsuite/g++.dg/vect/pr84556.cc index 6b1c9cec515..c7e331628a8 100644 --- a/gcc/testsuite/g++.dg/vect/pr84556.cc +++ b/gcc/testsuite/g++.dg/vect/pr84556.cc @@ -1,5 +1,5 @@ // PR c++/84556 -// { dg-do run { target c++11 } } +// { dg-require-effective-target c++11 } // { dg-additional-options "-O2 -fopenmp-simd" } // { dg-additional-options "-mavx" { target avx_runtime } }