File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -565,6 +565,7 @@ extern GTY(()) tree cp_global_trees[CPTI_MAX];
565
565
DECL_SELF_REFERENCE_P (in a TYPE_DECL)
566
566
DECL_INVALID_OVERRIDER_P (in a FUNCTION_DECL)
567
567
DECL_UNINSTANIATED_TEMPLATE_FRIEND_P (in TEMPLATE_DECL)
568
+ parm_used_in_post_p (in PARM_DECL)
568
569
5: DECL_INTERFACE_KNOWN.
569
570
6: DECL_THIS_STATIC (in VAR_DECL, FUNCTION_DECL or PARM_DECL)
570
571
DECL_FIELD_IS_BASE (in FIELD_DECL)
@@ -9031,7 +9032,7 @@ inline void
9031
9032
set_parm_used_in_post (tree decl, bool constify = true )
9032
9033
{
9033
9034
gcc_checking_assert (TREE_CODE (decl) == PARM_DECL);
9034
- decl-> base . public_flag = constify;
9035
+ DECL_LANG_FLAG_4 ( decl) = constify;
9035
9036
}
9036
9037
9037
9038
/* Test if PARM_DECL is ODR used in a postcondition. */
@@ -9040,7 +9041,7 @@ inline bool
9040
9041
parm_used_in_post_p (const_tree decl)
9041
9042
{
9042
9043
/* Check if this parameter is odr used within a function's postcondition */
9043
- return ((TREE_CODE (decl) == PARM_DECL) && decl-> base . public_flag );
9044
+ return ((TREE_CODE (decl) == PARM_DECL) && DECL_LANG_FLAG_4 ( decl) );
9044
9045
}
9045
9046
9046
9047
/* Inline bodies. */
Original file line number Diff line number Diff line change @@ -1339,9 +1339,6 @@ struct GTY(()) tree_base {
1339
1339
EXPR_LOCATION_WRAPPER_P in
1340
1340
NON_LVALUE_EXPR, VIEW_CONVERT_EXPR
1341
1341
1342
- parm_used_in_postcondition_p in
1343
- PARM_DECL
1344
-
1345
1342
1346
1343
private_flag:
1347
1344
You can’t perform that action at this time.
0 commit comments