public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9031] c++/modules: stream TREE_UNAVAILABLE and LAMBDA_EXPR_REGEN_INFO
@ 2024-02-16 15:25 Patrick Palka
  0 siblings, 0 replies; only message in thread
From: Patrick Palka @ 2024-02-16 15:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:83aaa1079c2449b275ea2426699555dbb0118e72

commit r14-9031-g83aaa1079c2449b275ea2426699555dbb0118e72
Author: Patrick Palka <ppalka@redhat.com>
Date:   Fri Feb 16 10:24:45 2024 -0500

    c++/modules: stream TREE_UNAVAILABLE and LAMBDA_EXPR_REGEN_INFO
    
    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.
    
    Reviewed-by: Jason Merrill <jason@redhat.com>

Diff:
---
 gcc/cp/module.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc
index 0291d456ff5c..106af7bdb3e9 100644
--- a/gcc/cp/module.cc
+++ b/gcc/cp/module.cc
@@ -5356,6 +5356,7 @@ trees_out::core_bools (tree t)
       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;
     }
 
@@ -5536,6 +5537,7 @@ trees_in::core_bools (tree t)
       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;
     }
 
@@ -6315,6 +6317,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)
@@ -6816,6 +6819,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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-16 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 15:25 [gcc r14-9031] c++/modules: stream TREE_UNAVAILABLE and LAMBDA_EXPR_REGEN_INFO Patrick Palka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).