From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 AED023857B88 for ; Thu, 15 Feb 2024 21:15:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AED023857B88 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 AED023857B88 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708031741; cv=none; b=nGP5SgZtJT6QWjbaf/Geg7AKc6BleZ+HyJFB30oAoz7sokhpfcVVb1vRo8ELNRssfSqAVv2sXpjDcy/f0DFp0WG5MJwFXzikG7B0zvsrbZ8yFS40iW5NqLoA4E80eOE9coBhPTX8Ss97llN4/o8L8oHTR7qQ4T9bGwmscI/ZDXk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708031741; c=relaxed/simple; bh=zCEuxZaqrs/6Qzv2HHrlOtvVYTZYsFMDs9OLbsFVJhU=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=YpRo3j23DuDzdMf0eX8stx88oJJUB4hX60tQLVTkxJae0ttd0ifaPim+dFBepFeV2gzEMoAVALQl89QSSj221JeeBEk+3JEuhZCvmCN4m+RljmzPgZaN3+mQRqKneF+NyFuXuB2j6Hp2XVNIsnM8HK4d7mfSVIUMVCRtR1jMaqI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708031739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k5UICu2sJL014nZuK06RrNMBPz3gp/UPTm7tKp+12tk=; b=hMjwVhWnC/a1eL2/9G0FjFKw/e/i1Uw2CTIhqdhruuw+YDSJVqS2bGm+KRwMaU3gzXuN+P 3mn9TsgplJuXWacUOfLa2VDzwh4dePjOWcOfjFqii2AxZki7vzOdI7Tik7o8GpinUiuOC8 WV3H9dQFfuKVYYyu0SDJL8cY2OJs6jY= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-574-D2uK0Zp0OhOyI4MWYW5_bg-1; Thu, 15 Feb 2024 16:15:38 -0500 X-MC-Unique: D2uK0Zp0OhOyI4MWYW5_bg-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-680b2c9b0ccso361606d6.1 for ; Thu, 15 Feb 2024 13:15:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708031737; x=1708636537; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k5UICu2sJL014nZuK06RrNMBPz3gp/UPTm7tKp+12tk=; b=AG6i5hv6oBJVMPY26qbCuFkasv8cMVNGMfwa+n/UdzuUWzO+Fo85eTMSN0XGT+i5Ad Rca2Jx62Nc6ky5Z3cUdIXWZLEBrBDk7/eVV9exuo/hR/YZhQeVdm/NreeEVzjspRCFz5 Rdw4WnLv8labFpYwmrFTKilQAv6X+p4j+4vjNqbLYRcl01eI2x5tnUy1PvOkQcn1RFn4 85/HOgBp79NF0X6m6IzWORI4b3TYqPgkIbtsqEG79XMXuqn+cS4e9MViCM6itKtUDZpG ZUF/7rEuqltlIFomx8WqB0HjNQhD15CrXCSI7TotpLnHq6pFxs2oarHNDSrfiadI7Zyv oGkA== X-Forwarded-Encrypted: i=1; AJvYcCUwp63J+tUsdC5HYc+0F4zdqy19ALGobbuK1NbQaYX5yGWzZSzuPoPZjo6Mpu3dPdBCs7Gena01ksGybyN1KtQ5STXrczE6RA== X-Gm-Message-State: AOJu0YzN74LB0W8Fu1NBqUfZc84jKLmOLVMFaeXFcodbJVn6ovsBStwb rJ13W4fxQxQq4pVpUzdTqV+fWrKkJhqNBrKw1d/kWQDGWvpAvxFcpDrIEVL07YO9GMMq1/HE3Ip rqgaPJstbqOjeXTWgBQ9rUPtG99b4B1r2qyGvTQKV0Js7WQKZ8uNVHbGBFQNbM9w= X-Received: by 2002:a05:6214:21ee:b0:68f:13cb:bc45 with SMTP id p14-20020a05621421ee00b0068f13cbbc45mr2817158qvj.64.1708031737163; Thu, 15 Feb 2024 13:15:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IF852lySqIuuiJrr1e4lTYtT2Dp5y2uR1KoZ5ljWqXAGlShx7er1h3Z191CC/F3nCNbyjHOqQ== X-Received: by 2002:a05:6214:21ee:b0:68f:13cb:bc45 with SMTP id p14-20020a05621421ee00b0068f13cbbc45mr2817147qvj.64.1708031736894; Thu, 15 Feb 2024 13:15:36 -0800 (PST) Received: from [192.168.1.130] (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id ks26-20020a056214311a00b0068d05b81fb2sm1042121qvb.15.2024.02.15.13.15.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Feb 2024 13:15:35 -0800 (PST) Message-ID: Date: Thu, 15 Feb 2024 16:15:33 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] c++/modules: stream TREE_UNAVAILABLE and LAMBDA_EXPR_REGEN_INFO To: Patrick Palka , gcc-patches@gcc.gnu.org Cc: nathan@acm.org References: <20240215211110.340624-1-ppalka@redhat.com> From: Jason Merrill In-Reply-To: <20240215211110.340624-1-ppalka@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,URIBL_BLACK autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2/15/24 16:11, Patrick Palka wrote: > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for > trunk? OK. > -- >8 -- > > gcc/cp/ChangeLog: > > * module.cc (trees_out::core_bools): Stream TREE_UNAVAILABLE. > (trees_in::core_bools): Likewise. > (trees_out::core_vals): Stream LAMBDA_EXPR_REGEN_INFO. > (trees_in::core_vals): Likewise. > --- > gcc/cp/module.cc | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc > index f769b3737ed..bd7de3f9156 100644 > --- a/gcc/cp/module.cc > +++ b/gcc/cp/module.cc > @@ -5370,6 +5370,7 @@ trees_out::core_bools (tree t, bits_out& bits) > WB (t->base.u.bits.user_align); > WB (t->base.u.bits.nameless_flag); > WB (t->base.u.bits.atomic_flag); > + WB (t->base.u.bits.unavailable_flag); > break; > } > > @@ -5560,6 +5561,7 @@ trees_in::core_bools (tree t, bits_in& bits) > RB (t->base.u.bits.user_align); > RB (t->base.u.bits.nameless_flag); > RB (t->base.u.bits.atomic_flag); > + RB (t->base.u.bits.unavailable_flag); > break; > } > > @@ -6353,6 +6355,7 @@ trees_out::core_vals (tree t) > WT (((lang_tree_node *)t)->lambda_expression.capture_list); > WT (((lang_tree_node *)t)->lambda_expression.this_capture); > WT (((lang_tree_node *)t)->lambda_expression.extra_scope); > + WT (((lang_tree_node *)t)->lambda_expression.regen_info); > /* pending_proxies is a parse-time thing. */ > gcc_assert (!((lang_tree_node *)t)->lambda_expression.pending_proxies); > if (state) > @@ -6854,6 +6857,7 @@ trees_in::core_vals (tree t) > RT (((lang_tree_node *)t)->lambda_expression.capture_list); > RT (((lang_tree_node *)t)->lambda_expression.this_capture); > RT (((lang_tree_node *)t)->lambda_expression.extra_scope); > + RT (((lang_tree_node *)t)->lambda_expression.regen_info); > /* lambda_expression.pending_proxies is NULL */ > ((lang_tree_node *)t)->lambda_expression.locus > = state->read_location (*this);