|
| 1 | +2026-04-16 Jakub Jelinek <jakub@redhat.com> |
| 2 | + |
| 3 | + * reflect.cc (dump_data_member_spec): Temporarily ignore |
| 4 | + -Wformat and -Wformat-diag warnings. |
| 5 | + |
| 6 | +2026-04-16 Marek Polacek <polacek@redhat.com> |
| 7 | + |
| 8 | + PR c++/124614 |
| 9 | + * cp-tree.h (valid_splice_for_member_access_p): Declare. |
| 10 | + (dump_data_member_spec): Declare. |
| 11 | + * error.cc (dump_expr) <case REFLECT_EXPR>: Print a data member |
| 12 | + description. |
| 13 | + * parser.cc (cp_parser_splice_expression): Use |
| 14 | + valid_splice_for_member_access_p. |
| 15 | + * pt.cc (tsubst_splice_expr): Likewise. |
| 16 | + * reflect.cc (dump_data_member_spec): New. |
| 17 | + (eval_display_string_of): Use it. |
| 18 | + (valid_splice_for_member_access_p): New. |
| 19 | + (check_splice_expr): Check that we got |
| 20 | + valid_splice_for_member_access_p for a member access. |
| 21 | + * typeck.cc (finish_class_member_access_expr): Use |
| 22 | + valid_splice_for_member_access_p. |
| 23 | + |
| 24 | +2026-04-16 Jakub Jelinek <jakub@redhat.com> |
| 25 | + |
| 26 | + PR c++/124120 |
| 27 | + * pt.cc (finish_expansion_stmt): Give iter variable an artificial |
| 28 | + name. |
| 29 | + |
| 30 | +2026-04-16 Egas Ribeiro <egas.g.ribeiro@gmail.com> |
| 31 | + Jason Merrill <jason@redhat.com> |
| 32 | + |
| 33 | + PR c++/123346 |
| 34 | + * constexpr.cc (init_subob_ctx): Do initialize new_ctx.ctor |
| 35 | + for an empty union member. |
| 36 | + |
| 37 | +2026-04-16 Iain Sandoe <iains.gcc@gmail.com> |
| 38 | + Jason Merrill <jason@redhat.com> |
| 39 | + |
| 40 | + PR c++/124648 |
| 41 | + * cp-tree.h (DECL_CONTRACT_CAPTURE_P): New. |
| 42 | + * parser.cc (cp_parser_lambda_body): Scan the captures for |
| 43 | + ones were only added in contract assertion scopes. Issue |
| 44 | + errors for those found. |
| 45 | + * semantics.cc (process_outer_var_ref): Mark implicit |
| 46 | + captures that occur in contract assertion scopes. Clear |
| 47 | + the mark if the entity is subsequently captured 'normally'. |
| 48 | + (set_contract_capture_flag): New. |
| 49 | + |
| 50 | +2026-04-16 Iain Sandoe <iains.gcc@gmail.com> |
| 51 | + Jason Merrill <jason@redhat.com> |
| 52 | + |
| 53 | + * contracts.cc (view_as_const): Check for const-qualified |
| 54 | + class pointer before wrapping it. |
| 55 | + * parser.cc (cp_parser_late_contract_condition): Use revised |
| 56 | + handling of const-ification of class pointers. |
| 57 | + (cp_parser_contract_assert): Likewise. |
| 58 | + (cp_parser_function_contract_specifier): Likewise. |
| 59 | + |
1 | 60 | 2026-04-15 Marek Polacek <polacek@redhat.com> |
2 | 61 |
|
3 | 62 | PR c++/120338 |
|
0 commit comments