Message ID | 20231102234527.77231-1-patrick@rivosinc.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp710663vqu; Thu, 2 Nov 2023 16:46:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqA8HzPiW4jpqT6hgeNaduwLyHBPsJV1z951HveRCxKKefny4qPFUfTGpZTwUPzALjnyZH X-Received: by 2002:a05:6214:248f:b0:66d:33c1:3750 with SMTP id gi15-20020a056214248f00b0066d33c13750mr21477356qvb.49.1698968773969; Thu, 02 Nov 2023 16:46:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698968773; cv=pass; d=google.com; s=arc-20160816; b=CS13bGbtum9PWD/OyLLobknKVlto/LMAucNy4XPCGAGdAUgkXL8Ktlf5L8YIVIHpF4 LMXQqZ++KPeVxlEf3+Ezlq26QRu9bD6yUgRuUgECY50jr61RB9vpbssd6M+QX6SBS2vP 7EqaQwj7eZNAIhnF+Z+rN03+3OZc522JnrBqj6kSbTFwvPMXeu5fWPaz9aFd52zYIn48 FqohWv6dmU08SWb7xOV5MFDaSoL8bgth/vb1dAUZclu37MozsBUeCLN0yDzq9vSii766 xArm1zemglDt01EKljghw0zbv/m635NymVKGc3tTl660XULELMM015DAxLXM16dpn3Jr itPQ== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=zemPzfEGqgavjpPHN9QnMxBxLgbUi7NUO1iLxzJaDyM=; fh=wDD8OMux2COMFW4+BJzNrgDCSO2RLj1PQnLKR+gld2c=; b=rdil80ZUOLV/ILAo00yxIhJ/0sXdqNrzkAL5oYYlH4YlCprN0wU4MHzaiUOZJc+Ytl QunR+/27wuzcaRs51Pi3BjZ1W5DWKgRbFOlI7oQwStF/noSIf7YgAJPYfbY/uYWhcwMn kDiaFG4DYJQJA5EFbTB+58+O+DcV67G+aEfFVIN+oYXQOCWUPX7ghYxFee8T7tKb5S5m m5u63SfzwMMZmEF7I6oyQpYBZ6YRIS4THDC2I4H+L3ZXM86np46Q4ZZFey0H5vgs4Fc5 g3/6Co6gIi12cM+TBanrIMS9UypiQpcy1U3nEJqEY7npfrizEO463UuybdTE/0oAQgzA TgpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=GTQsi0WF; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d16-20020a05621416d000b0066cee07e205si516112qvz.175.2023.11.02.16.46.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 16:46:13 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=GTQsi0WF; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 A98CF3858CD1 for <ouuuleilei@gmail.com>; Thu, 2 Nov 2023 23:46:13 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 7F3DB3858D28 for <gcc-patches@gcc.gnu.org>; Thu, 2 Nov 2023 23:45:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F3DB3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7F3DB3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::533 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698968748; cv=none; b=dSyGhV/7v4MMpQbXgPP+N8iDFwecHJhEaRysVYjzUzMd5rp66Btzh8Fabh/5MyjgfcAj2bb3SVGjrpgTo8V+J6Sq0tVf28M5rn+iVxm5Wq+a5AE20qjv1X5fr1Q9Ro5nNODabqljzhORMhS9gt+eq9EV3Zl08VchOHEWrofbMKU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698968748; c=relaxed/simple; bh=aKvA33qDQ2dZiTMuaPwclTSPR4gvW9FD4sDmCPrkXt0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wCStZqnXAu8u1kVgaesRcZLWhLnqBG+WTnzM3iZ7KIzVq9Xre29ptfWik2EKomkFbPnKP7MINGRuwsltdEb3l0QAWr2pxtzqoZzM+jPSOWun3ojfKk/ggIWSWFARgoC+/PtsF2JUHX7S4b0mlEytZsZpKLsEgt7qfWr18CIW8eg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-5aaebfac4b0so1203959a12.2 for <gcc-patches@gcc.gnu.org>; Thu, 02 Nov 2023 16:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1698968737; x=1699573537; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zemPzfEGqgavjpPHN9QnMxBxLgbUi7NUO1iLxzJaDyM=; b=GTQsi0WFlZPPWYDETmdUx7DviQSpdpLOgFyNCQuk6W6GQShShAtA+myI4aIz+pqZHW uCy/vgy/8+xU+nsPnrb1jzHN0JVLqSFJAIRzTQrmTAVw1HiObJxH7XgAwAQq2TditZBX 9Va2aTd7YphsMn8uU7D7eU2xWn47znuYXbU09ytJQbKahH/1qdOpEWgYASUrMSP54stp v0BJsFAPUP7QahI9PjKoSDGW1kqyenl6UouVi8Cot94ve7Bw2T+r6A9kV+sKj8HMa5O3 pCfHxsEaQwKCyBtj07eGzQjLYlv7m9cxc83SEvz0RLetZ8iXcj+eeUkvEVeVPlPfVYsv 4GWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698968737; x=1699573537; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zemPzfEGqgavjpPHN9QnMxBxLgbUi7NUO1iLxzJaDyM=; b=cnP43j7uz37YWisi2zKFqkHL58WjzKfh9t59qPc+4++ZCl7je6VHZEKkcwM2E+bYe+ vgveGyvfNnNRzSy7+pf7FhVRgIuyhD241HTIM8zYygipqyvR2CRKPhbQRc07I/pqzQhg N6ynZY4wz55QS9s6c3LU6ZdxP9g5nzyiRxV1waZ0WOKR5sQ15bnuwn8TqS/Z0GahOHJw u2Nwc82nLmPAWsrdNIyM6eKS2zFADsB2t+1ptwMp5aU0pbmhktIH/XqDXQzGyuSCWpVQ WYG2jW/vDMfMaVMqzJ2DzBBgXof7IyPIwVdhFZ23kHxV2KPK0RiyC+xeiLyoj2JMdqIL sgWA== X-Gm-Message-State: AOJu0Yxo1o97Puzol0YtxWy3U2VuRg0MgrNRyHOBAebYIdeklkuhg7M7 L9ZrH83HLjFSAwhHkCyMTfREHZeg1h0pvJ0nPVo= X-Received: by 2002:a05:6a21:7905:b0:179:f7cc:c7e6 with SMTP id bg5-20020a056a21790500b00179f7ccc7e6mr19544007pzc.38.1698968736762; Thu, 02 Nov 2023 16:45:36 -0700 (PDT) Received: from patrick-ThinkPad-X1-Carbon-Gen-8.hq.rivosinc.com ([12.44.203.122]) by smtp.gmail.com with ESMTPSA id m2-20020aa78a02000000b0068fb8e18971sm261981pfa.130.2023.11.02.16.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 16:45:36 -0700 (PDT) From: Patrick O'Neill <patrick@rivosinc.com> To: gcc-patches@gcc.gnu.org Cc: jeffreyalaw@gmail.com, gnu-toolchain@rivosinc.com, Patrick O'Neill <patrick@rivosinc.com> Subject: [PATCH] g++: Rely on dg-do-what-default to avoid running pr102788.cc on non-vector targets Date: Thu, 2 Nov 2023 16:45:27 -0700 Message-ID: <20231102234527.77231-1-patrick@rivosinc.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781497881193859475 X-GMAIL-MSGID: 1781497881193859475 |
Series |
g++: Rely on dg-do-what-default to avoid running pr102788.cc on non-vector targets
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Patrick O'Neill
Nov. 2, 2023, 11:45 p.m. UTC
Testcases in g++.dg/vect rely on check_vect_support_and_set_flags
to set dg-do-what-default and avoid running vector tests on non-vector
targets. The three testcases in this patch overwrite the default with
dg-do run.
Removing the dg-do run directive resolves this issue for non-vector
targets (while still running the tests on vector targets).
gcc/testsuite/ChangeLog:
* g++.dg/vect/pr102788.cc: Remove dg-do run directive.
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
Tested using rv64gc & rv64gcv to make sure the testcases compile/run
as expected.
Similar to https://inbox.sourceware.org/gcc-patches/20231102190911.66763-1-patrick@rivosinc.com/T/#u
---
gcc/testsuite/g++.dg/vect/pr102788.cc | 1 -
1 file changed, 1 deletion(-)
--
2.34.1
diff --git a/gcc/testsuite/g++.dg/vect/pr102788.cc b/gcc/testsuite/g++.dg/vect/pr102788.cc index fa9c366fe56..032fa29fc72 100644 --- a/gcc/testsuite/g++.dg/vect/pr102788.cc +++ b/gcc/testsuite/g++.dg/vect/pr102788.cc @@ -1,4 +1,3 @@ -// { dg-do run } // { dg-additional-options "-O3" } unsigned long long int var_4 = 235;