Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
trunk?

-- >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);
-- 
2.44.0.rc1.15.g4fc51f00ef

Reply via email to