From f23d4cea8682d84fd533a8ca57b099311e056ce0 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sun, 25 Aug 2024 00:17:02 +0000 Subject: [PATCH] Daily bump. --- gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 106 ++++++++++++++++++++++++++++++++++++++++ gcc/m2/ChangeLog | 14 ++++++ gcc/testsuite/ChangeLog | 57 +++++++++++++++++++++ 4 files changed, 178 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8df515083dd8..928d43e6afd1 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240824 +20240825 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 12b8c22b803e..1c5d5335f87f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,109 @@ +2024-08-24 Iain Sandoe + + PR c++/110635 + * coroutines.cc + (cp_coroutine_transform::wrap_original_function_body): Look through + initial await target expressions to find the actual co_await_expr + that we need to update. + +2024-08-24 Iain Sandoe + + PR c++/102051 + * coroutines.cc + (cp_coroutine_transform::build_ramp_function): Handle + "throwing_cleanup" here instead of ... + (cp_coroutine_transform::apply_transforms): ... here. + +2024-08-24 Iain Sandoe + + PR c++/115908 + * coroutines.cc + (cp_coroutine_transform::build_ramp_function): Rework the return + value initialisation to initialise the return slot always from + get_return_object, even if that implies carrying out conversions + to do so. + +2024-08-24 Iain Sandoe + + PR c++/109682 + * coroutines.cc + (cp_coroutine_transform::build_ramp_function): Allow for cases where + get_return_on_allocation_fail has a type convertible to the ramp + return type. + +2024-08-24 Iain Sandoe + + PR c++/100476 + * coroutines.cc + (cp_coroutine_transform::build_ramp_function): Remove special + handling of void get_return_object expressions. + +2024-08-24 Iain Sandoe + + PR c++/113773 + * coroutines.cc + (cp_coroutine_transform::build_ramp_function): Only cleanup the + frame state on exceptions that occur before the initial await + resume has begun. + +2024-08-24 Iain Sandoe + + * call.cc (build_op_delete_call_1): Renamed and added a param + to allow the caller to prioritize two argument usual deleters. + (build_op_delete_call): New. + (build_coroutine_op_delete_call): New. + * coroutines.cc (coro_get_frame_dtor): Rename... + (build_coroutine_frame_delete_expr):... to this; simplify to + use build_op_delete_call for all cases. + (build_actor_fn): Use revised frame delete function. + (build_coroutine_frame_alloc_expr): New. + (cp_coroutine_transform::complete_ramp_function): Rename... + (cp_coroutine_transform::build_ramp_function): ... to this. + Reorder code to carry out checks for prerequisites before the + codegen. Split out the allocation/delete code. + (cp_coroutine_transform::apply_transforms): Use revised name. + * coroutines.h: Rename function. + * cp-tree.h (build_coroutine_op_delete_call): New. + +2024-08-24 Iain Sandoe + Arsen Arsenović + + * coroutines.cc (struct suspend_point_info, struct param_info, + struct local_var_info, struct susp_frame_data, + struct local_vars_frame_data): Move to coroutines.h. + (build_actor_fn): Use start/finish function APIs. + (build_destroy_fn): Likewise. + (coro_build_actor_or_destroy_function): No longer mark the + actor / destroyer as DECL_COROUTINE_P. + (coro_rewrite_function_body): Use class members. + (cp_coroutine_transform::wrap_original_function_body): Likewise. + (build_ramp_function): Replace by... + (cp_coroutine_transform::complete_ramp_function): ...this. + (cp_coroutine_transform::cp_coroutine_transform): New. + (cp_coroutine_transform::~cp_coroutine_transform): New + (morph_fn_to_coro): Replace by... + (cp_coroutine_transform::apply_transforms): ...this. + (cp_coroutine_transform::finish_transforms): New. + * cp-tree.h (morph_fn_to_coro): Remove. + * decl.cc (emit_coro_helper): Remove. + (finish_function): Revise handling of coroutine transforms. + * coroutines.h: New file. + +2024-08-24 Iain Sandoe + + * coroutines.cc (build_actor_fn): Arrange to apply any + required parameter copy DTORs in reverse order to their + creation. + (coro_rewrite_function_body): Handle revised param uses. + (morph_fn_to_coro): Split the ramp function completion + into a separate function. + (build_ramp_function): New. + +2024-08-24 Iain Sandoe + + * coroutines.cc (build_co_await): Simplify checks for the cases that + we need to materialise an awaiter. + 2024-08-21 Iain Sandoe * coroutines.cc (split_coroutine_body_from_ramp): Check diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 7d577d252c31..382f8a8c32cb 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,17 @@ +2024-08-24 Gaius Mulley + + * gm2-libs/libc.def (atof): Export unqualified. + (atoi): Ditto. + (atol): Ditto. + (atoll): Ditto. + (strtod): Ditto. + (strtof): Ditto. + (strtold): Ditto. + (strtol): Ditto. + (strtoll): Ditto. + (strtoul): Ditto. + (strtoull): Ditto. + 2024-08-16 Gaius Mulley * gm2-libs-iso/StdChans.mod (in): Rename to ... diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a74c9c808532..3f839bfe0487 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,60 @@ +2024-08-24 Iain Sandoe + + PR c++/110635 + * g++.dg/coroutines/pr110635.C: New test. + +2024-08-24 Iain Sandoe + + PR c++/102051 + * g++.dg/coroutines/pr102051.C: New test. + +2024-08-24 Iain Sandoe + + PR c++/115908 + * g++.dg/coroutines/pr115908.C: New test. + +2024-08-24 Iain Sandoe + + PR c++/109682 + * g++.dg/coroutines/pr109682.C: New test. + +2024-08-24 Iain Sandoe + + PR c++/100476 + * g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C: + Adjust expected diagnostic. + * g++.dg/coroutines/pr102489.C: Avoid void get_return_object. + * g++.dg/coroutines/pr103868.C: Likewise. + * g++.dg/coroutines/pr94879-folly-1.C: Likewise. + * g++.dg/coroutines/pr94883-folly-2.C: Likewise. + * g++.dg/coroutines/pr96749-2.C: Likewise. + +2024-08-24 Iain Sandoe + + PR c++/113773 + * g++.dg/coroutines/torture/pr113773.C: New test. + +2024-08-24 Iain Sandoe + + * g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C: Use revised + diagnostics. + * g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C: + Likewise. + * g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C: + Likewise. + * g++.dg/coroutines/coro-bad-grooaf-00-static.C: Likewise. + * g++.dg/coroutines/ramp-return-b.C: Likewise. + +2024-08-24 Simon Martin + + PR c++/113746 + * g++.dg/parse/crash76.C: New test. + +2024-08-24 Georg-Johann Lay + + * gcc.dg/torture/pr115929-2.c: Add dg-require-effective-target scheduling. + * gcc.dg/torture/pr116343.c: Same. + 2024-08-23 Manolis Tsamis PR rtl-optimization/116372 -- 2.43.5