Message ID | 20240604183051.1406924-3-tschwinge@baylibre.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> 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=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=dchmuCOK; 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 4VtzhY03Vbz20Tb for <incoming@patchwork.ozlabs.org>; Wed, 5 Jun 2024 04:31:57 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4040A38D60DE for <incoming@patchwork.ozlabs.org>; Tue, 4 Jun 2024 18:31:54 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 6B2C638B68B1 for <gcc-patches@gcc.gnu.org>; Tue, 4 Jun 2024 18:31:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B2C638B68B1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6B2C638B68B1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::431 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717525885; cv=none; b=J2fjNTBbgSb6ggm0QU2m2rjukJ+RajAqg2BPWwCD2aCk/hkUeZWV+kcGGtLfUIwPVhkgXlCa9O8q73wqDsoTIG30HY86sI8uO6+QcHsUwzcsmbEnQshFLLoUU5cQJeTG1/RtJ6LG0dCgL/bQ8n9U1GpAwuOq8NPrkLvBlfv/7tc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717525885; c=relaxed/simple; bh=fTTue1/9PzIoHBCkp8i8dSG7mVg3LhKu9lmZBGgrHVo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=KaflHBsPSVCUBQqy0Y+j1tmlbMRSoj1/0U1BgEGVL2m7CjRJrAkxh7kFqpE910FCC7+D61HKywm/XrT2LP6cHaG0gS1a272eEYJvWc0noNnBRAWOC7/03Vj9GziRnWGAXqZ7jScojhXd7iWpfklR6LI3r9jYDnaybBNvAEnZ6CA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-35dcff36522so1229073f8f.1 for <gcc-patches@gcc.gnu.org>; Tue, 04 Jun 2024 11:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1717525882; x=1718130682; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=YsCbAH3wxoyneJAtMP2MxaB5+EEIcxdWs2dEenMVaDY=; b=dchmuCOK0i1LlSrp2sJf45npzF8/NNPpiZhKyZFp+XFy1XOHqkjFvKCRUmwvlsICqi 6wqiU2slDx7JF1rnW009EuojXrDbKxgKFnmVbeaV/yw0x/r/lhrRS4TM4sfXEonHLXYb P7fb1j9ohekmtng8cLJoilCg34GABkbY30UO0/Qthc2kqNaKNEl2CWgSH3WkJcWgX1rV aiG7sTvRDzvakEPku8Eo2BGBZctXBN4Inm1xuT2HNeiBx+e5TWtZMy//utmZDa1FXlKY F4d1HgeC0Wx5+xm7HYWP/PPmYiJAuiVG+k+lfjxev/ZCC7pYsUl1h6MVpcNPSuoizCdM Vqcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717525882; x=1718130682; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YsCbAH3wxoyneJAtMP2MxaB5+EEIcxdWs2dEenMVaDY=; b=vUIWiyqGp9GB06+dY7nluPrBotXosTQD4oeei/zrDBaAh6CfrpFAxsHXtslUme2bEe gERW+kRjDPNwM/+1Ui1Ad8YxkJCKWbSVXN6u/nYnsPY/pWeZm7w9Q11+eeddPWbtoLgZ fjtV29ShuBAc0PmNtVp9Cq69hOXGR57V2rfgfVFyyCxMps6sL2d4ul0bKizedV3gJ3F1 Exak983TR3FeEKrIMTxk+S3Zy4epXas926N7+bUnaoZHHWigcydK0pz5H2rW2zbFC1OI 39Ox3yu0HX0xQu3IG/7QZF3HcRZNzIjqpXI1fT5YTTnMiQKygk3jC2eVgHLuMtb/MPNB 58aQ== X-Gm-Message-State: AOJu0YxUB7CxX19zMXAHZZOJwtkXMi0th59GipCMdUrDoKxGKVdDRK+0 7xNH+0YVn1XxjZW3F+/mnXj3eTB3/+plfZmiqORWD+vCSQQuUotdfpS2JRTlEHqYA3yVPZMmfoL m X-Google-Smtp-Source: AGHT+IFEsl0nTUq5dJLY5sRRiMLgaGF8njmJw1vz256RWjs1URAY0xSP1Z6srHxE1aOn3guKJyFAEg== X-Received: by 2002:adf:f9cd:0:b0:356:c47a:87d2 with SMTP id ffacd0b85a97d-35e84062de8mr184408f8f.6.1717525882124; Tue, 04 Jun 2024 11:31:22 -0700 (PDT) Received: from dem-tschwing-1.schwinge.ddns.net (p200300c8b735b200f3dc200ec7cc31ed.dip0.t-ipconnect.de. [2003:c8:b735:b200:f3dc:200e:c7cc:31ed]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd066ff17sm12247629f8f.116.2024.06.04.11.31.21 for <gcc-patches@gcc.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 11:31:21 -0700 (PDT) From: Thomas Schwinge <tschwinge@baylibre.com> To: gcc-patches@gcc.gnu.org Subject: [PATCH 2/4] Add C++ testing for 'gcc.dg/initpri1-lto.c': 'c-c++-common/initpri1-lto.c' Date: Tue, 4 Jun 2024 20:30:49 +0200 Message-Id: <20240604183051.1406924-3-tschwinge@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240604183051.1406924-2-tschwinge@baylibre.com> References: <20240604183051.1406924-1-tschwinge@baylibre.com> <20240604183051.1406924-2-tschwinge@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.3 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+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[1/4] Consolidate similar C/C++ test cases for 'constructor', 'destructor' function attributes with priority
|
expand
|
diff --git a/gcc/testsuite/gcc.dg/initpri1-lto.c b/gcc/testsuite/c-c++-common/initpri1-lto.c similarity index 48% rename from gcc/testsuite/gcc.dg/initpri1-lto.c rename to gcc/testsuite/c-c++-common/initpri1-lto.c index 0c97cf4b1c9..433ef356c7e 100644 --- a/gcc/testsuite/gcc.dg/initpri1-lto.c +++ b/gcc/testsuite/c-c++-common/initpri1-lto.c @@ -1,5 +1,6 @@ /* { dg-do run { target init_priority } } */ /* { dg-require-effective-target lto } */ /* { dg-options "-flto -O3" } */ +/* Via the magic string "-std=*++" indicate that testing one (the default) C++ standard is sufficient. */ -#include "../c-c++-common/initpri1.c" +#include "initpri1.c"