|
| 1 | +2025-12-29 Egas Ribeiro < [email protected]> |
| 2 | + |
| 3 | + PR c++/123080 |
| 4 | + * parser.cc (cp_parser_skip_to_end_of_statement): Don't abort |
| 5 | + implicit templates during tentative parsing. |
| 6 | + (cp_parser_lambda_declarator_opt): Add cleanup for |
| 7 | + fully_implicit_function_template_p before parsing |
| 8 | + trailing_requires_clause. |
| 9 | + |
| 10 | +2025-12-29 Nathaniel Shead < [email protected]> |
| 11 | + |
| 12 | + PR c++/119097 |
| 13 | + PR c++/120005 |
| 14 | + * constexpr.cc (potential_constant_expression_1): Fall back to |
| 15 | + location from parent expression if needed. |
| 16 | + * cp-gimplify.cc (enum fold_flags): Add ff_only_non_odr. |
| 17 | + (cp_fold_data::cp_fold_data): Assert invariant for flags. |
| 18 | + (cp_fold_omp_clause_refs_r): New function. |
| 19 | + (cp_fold_r): Specially handle OMP_CLAUSE_DECL. |
| 20 | + (cp_fold_function_non_odr_use): New function. |
| 21 | + (cp_fold_non_odr_use_1): New function. |
| 22 | + (cp_fold_maybe_rvalue): Fold non-ODR uses when requested. |
| 23 | + (cp_fold_non_odr_use): New function. |
| 24 | + (fold_caches): Increase number of caches. |
| 25 | + (get_fold_cache): Use a new cache for non-ODR use walks. |
| 26 | + (cp_fold): Skip most folding for non-ODR use walks; always |
| 27 | + fold constant-initialized references; remove dead code to |
| 28 | + fold __builtin_source_location. |
| 29 | + * cp-tree.h (cp_fold_function_non_odr_use): Declare. |
| 30 | + (cp_fold_non_odr_use): Declare. |
| 31 | + * decl.cc (finish_function): Fold non-ODR uses before saving |
| 32 | + constexpr fundef. Invoke PLUGIN_PRE_GENERICIZE before this |
| 33 | + folding. |
| 34 | + * ptree.cc (cxx_print_xnode): Handle TU_LOCAL_ENTITY. |
| 35 | + * tree.cc (bot_manip): Propagate TREE_CONSTANT. |
| 36 | + * typeck2.cc (digest_nsdmi_init): Fold non-ODR uses in NSDMIs. |
| 37 | + |
1 | 38 | 2025-12-23 Nathaniel Shead < [email protected]> |
2 | 39 |
|
3 | 40 | PR c++/122819 |
|
0 commit comments