Message ID | 20221004004216.1994023-1-ppalka@redhat.com |
---|---|
State | Accepted, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1188355wrs; Mon, 3 Oct 2022 17:43:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7hSgS3FA45Jhkb1PmTTDHG/bzf4E6tVwKWtQILp67UwainSgsD6IfsSKibSdxJeeon4lK4 X-Received: by 2002:a17:907:e94:b0:782:1b85:f887 with SMTP id ho20-20020a1709070e9400b007821b85f887mr17771761ejc.222.1664844193332; Mon, 03 Oct 2022 17:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664844193; cv=none; d=google.com; s=arc-20160816; b=uImWI2i0CGkThNLwmTxOTSzY7ko6vqAtNC0DNTgMNnl4I4Z5rGIQ/Ujd2iu12JTxqc nU0pKww/ttVurp+YxM4voGcwn1Uu5csuWg/8M/+E7bDVvS5pUfCsaRarZQBgPKFPstZe WPNPZl61J9+Aa//s9l59uCb1MBpZFMGyos+aygSwIgJCMxW8D53uLk2ZMiQ18r8e6P2A gOvOd85orqA8mEJwZUlrTuOEDg/mjjx2zP8rZY1WZ22SmKh/bVQRiMkOe5qa5dtgif6L OeZ3YuMsy7LWs8mAbWcU6g1UCq08e92SD/UjDgSzYN9Uj0XpYemyjblNppzaxf6589ML XGPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=nrkyvffh5RpF4NSKDi9vLcV/7+6V9VpBr9fU/aLGCHI=; b=Iu9FbnDJZuFEdjuDpRTJUxqP26dr6AKF1/U3OcW1mmCaZSROBwjrs8oD34JwwStzjx iO4w2JDqlV2FpidbUVmfbF2PNUoSczRpNupG7NH8FgW4EkqAGdkz0DtcRuD36mP55Bxs s5afEEoVHFMeXlDT4oRQuH4Ww1jFllH5XzOJf7Ej4jB5WFF0aXXuBIjDptsDaii07OfZ w+GkqPaqCzI0gyqkoTpdH0m7O0O4kRwwPRomAEsewxadcoavWerKmhbpVnkhMmeI+VFh BZHrtDbTn/bmjiXFZUdXasGS73/mJWFLq9yeS1GL/63It23ZKKiGvVCbp2bPvGYDq2UN ML6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=viVRejaY; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id cm4-20020a0564020c8400b004517679cd84si5517400edb.51.2022.10.03.17.43.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 17:43: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=@gcc.gnu.org header.s=default header.b=viVRejaY; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 140C43856DF4 for <ouuuleilei@gmail.com>; Tue, 4 Oct 2022 00:43:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 140C43856DF4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664844192; bh=nrkyvffh5RpF4NSKDi9vLcV/7+6V9VpBr9fU/aLGCHI=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=viVRejaY/HkYg9VQcP42Vw+JcyXItTwGPeaU6+2iSZKfuRSbntgn0wECyTHxhKpwV 8oAAfC8anH/tPSrKO4oc4loFOgfE5FMVeKQr4Ghm9eLAVIGV1cWEZ4ssawMq6DlQf2 ifigcRpPKSWjhCNCGhEHItSIHL5ZlYQ2v9V63iGQ= 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.133.124]) by sourceware.org (Postfix) with ESMTPS id 34AF4385740F for <gcc-patches@gcc.gnu.org>; Tue, 4 Oct 2022 00:42:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 34AF4385740F Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-484-HNVC5RLiNZyUTi9OM551bQ-1; Mon, 03 Oct 2022 20:42:28 -0400 X-MC-Unique: HNVC5RLiNZyUTi9OM551bQ-1 Received: by mail-qk1-f198.google.com with SMTP id bp17-20020a05620a459100b006ce7f4bb0b7so10317504qkb.5 for <gcc-patches@gcc.gnu.org>; Mon, 03 Oct 2022 17:42:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=nrkyvffh5RpF4NSKDi9vLcV/7+6V9VpBr9fU/aLGCHI=; b=WAeGUvuzX4GfFrN/N7QPx1l/1RkXJVLzn3zqIyYzJ+JHd4Zszm3nQgPf201OCYBshN 3sRI3dEAamT9psya9y4QvYiXXFIKo1TMhLWKmi4yGiHw/NArOScdwBkxpCdtgWPqRgPQ Zj5MPTGN842O3z/Iqq5nzyimJLFtXf3qLwTt4Pusf32s7TDvatTmVcyyzV00r/gkAc1T 4l94C6wwKvMPGm6K01HJygYTU30rJXTyd+3gONmifqG9+ELhrIyjRgF87Cg7nVVm8hEC P2LS97F8i4YTSGqaCFY/PLGckx+s0Q67SqLpOpwgpNamFT3KeeT2qMv+hbDITB1NNsRL rm7g== X-Gm-Message-State: ACrzQf0sjTgiiSCd7OL0Q5SruRO80Htf+oVURY83Rndl/urKhYk/5Exx ojXnGM8Z6yvT8yw+BKBMX3lT2DMCyr9O+iVI5G0uBc3i1woMFqX1VctFFWe9HddwGWnkpJioRrv Tpb5j7uxp1E6bjUegRofBy9IIYNeqSKoiAgQsHjVHRKhzWyfPN9lXjl8tpjUbfDXRmPE= X-Received: by 2002:a05:620a:1017:b0:6ce:d89f:8988 with SMTP id z23-20020a05620a101700b006ced89f8988mr15302498qkj.187.1664844146688; Mon, 03 Oct 2022 17:42:26 -0700 (PDT) X-Received: by 2002:a05:620a:1017:b0:6ce:d89f:8988 with SMTP id z23-20020a05620a101700b006ced89f8988mr15302488qkj.187.1664844146440; Mon, 03 Oct 2022 17:42:26 -0700 (PDT) Received: from localhost.localdomain (ool-457670bb.dyn.optonline.net. [69.118.112.187]) by smtp.gmail.com with ESMTPSA id s22-20020a05620a29d600b006b8e63dfffbsm9031423qkp.58.2022.10.03.17.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 17:42:25 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH] c++: install cp-trait.def as part of plugin headers [PR107136] Date: Mon, 3 Oct 2022 20:42:16 -0400 Message-Id: <20221004004216.1994023-1-ppalka@redhat.com> X-Mailer: git-send-email 2.38.0.rc2 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-24.2 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, 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.29 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> From: Patrick Palka via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Patrick Palka <ppalka@redhat.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1745715665039972791?= X-GMAIL-MSGID: =?utf-8?q?1745715665039972791?= |
Series |
c++: install cp-trait.def as part of plugin headers [PR107136]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Patrick Palka
Oct. 4, 2022, 12:42 a.m. UTC
This is apparently needed since we include cp-trait.def from cp-tree.h (in order to define the cp_trait_kind enum), as with operators.def. Tested on x86_64-pc-linux-gnu by doing make install and verifying cp-trait.def appears in $prefix/lib/gcc/x86_64-pc-linux-gnu/13.0.0/plugin/include/cp/ Does this look OK for trunk? PR c++/107136 gcc/cp/ChangeLog: * Make-lang.in (CP_PLUGIN_HEADERS): Add cp-trait.def. --- gcc/cp/Make-lang.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 10/3/22 20:42, Patrick Palka wrote: > This is apparently needed since we include cp-trait.def from cp-tree.h > (in order to define the cp_trait_kind enum), as with operators.def. > > Tested on x86_64-pc-linux-gnu by doing make install and verifying > cp-trait.def appears in > > $prefix/lib/gcc/x86_64-pc-linux-gnu/13.0.0/plugin/include/cp/ > > Does this look OK for trunk? OK. > PR c++/107136 > > gcc/cp/ChangeLog: > > * Make-lang.in (CP_PLUGIN_HEADERS): Add cp-trait.def. > --- > gcc/cp/Make-lang.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in > index 38d8eeed1f0..aa84d6827be 100644 > --- a/gcc/cp/Make-lang.in > +++ b/gcc/cp/Make-lang.in > @@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed '$(program_transform_name)') > GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)') > CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed '$(program_transform_name)') > GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed '$(program_transform_name)') > -CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def > +CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def cp-trait.def > > # > # Define the names for selecting c++ in LANGUAGES.
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 38d8eeed1f0..aa84d6827be 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed '$(program_transform_name)') GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)') CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed '$(program_transform_name)') GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed '$(program_transform_name)') -CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def +CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def cp-trait.def # # Define the names for selecting c++ in LANGUAGES.