From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id CAF603858D3C; Mon, 4 Oct 2021 00:17:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAF603858D3C MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org Subject: [gcc r10-10166] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: bf455aa06f95edf15b3ee619b1096dde716fed64 X-Git-Newrev: 783f3f2734e3d926b1d284582a16b6ecf34504e9 Message-Id: <20211004001749.CAF603858D3C@sourceware.org> Date: Mon, 4 Oct 2021 00:17:49 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2021 00:17:49 -0000 https://gcc.gnu.org/g:783f3f2734e3d926b1d284582a16b6ecf34504e9 commit r10-10166-g783f3f2734e3d926b1d284582a16b6ecf34504e9 Author: GCC Administrator Date: Mon Oct 4 00:17:19 2021 +0000 Daily bump. Diff: --- gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 8 ++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 4e467cc93c2..5da7af371f6 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211003 +20211004 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2edb8b0ec18..7b8bdab9c72 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,53 @@ +2021-10-03 Iain Sandoe + + Backported from master: + 2021-07-19 Iain Sandoe + + PR c++/95520 + * coroutines.cc (struct coroutine_info): Add fields for + actor and destroy function decls. + (to_ramp): New. + (coro_get_ramp_function): New. + (coro_get_actor_function): New. + (coro_get_destroy_function): New. + (act_des_fn): Set up mapping between ramp, actor and + destroy functions. + (morph_fn_to_coro): Adjust interface to the builder for + helper function decls. + * cp-tree.h (DECL_ACTOR_FN, DECL_DESTROY_FN, DECL_RAMP_FN, + JOIN_STR): New. + * mangle.c (write_encoding): Handle coroutine helpers. + (write_unqualified_name): Handle lambda coroutine helpers. + +2021-10-03 Iain Sandoe + + Backported from master: + 2021-07-09 Iain Sandoe + + * coroutines.cc (build_actor_fn): Move common code to + act_des_fn. + (build_destroy_fn): Likewise. + (act_des_fn): Build the void return here. Ensure that the + source location matches the original function. + +2021-10-03 Iain Sandoe + + Backported from master: + 2021-07-09 Iain Sandoe + + * coroutines.cc + (coro_rewrite_function_body): Connect the replacement + function block to the block nest correctly. + +2021-10-03 Martin Liska + + Backported from master: + 2021-03-18 Martin Liska + + PR c++/99617 + * coroutines.cc (struct var_nest_node): Init then_cl and else_cl + to NULL. + 2021-07-08 Marek Polacek Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1dd41b7e605..11d2703bd49 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2021-10-03 Iain Sandoe + + Backported from master: + 2021-07-19 Iain Sandoe + + PR c++/95520 + * g++.dg/coroutines/pr95520.C: New test. + 2021-09-30 Harald Anlauf Backported from master: