]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 4 Oct 2021 00:18:02 +0000 (00:18 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 4 Oct 2021 00:18:02 +0000 (00:18 +0000)
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog

index 4e467cc93c21bbe4b5a5b24b959e265e9ee2063c..5da7af371f693c18fe1ce69ed7dfdd20b4fc1001 100644 (file)
@@ -1 +1 @@
-20211003
+20211004
index 08eafb46980f888e5fd7e937afce7278868f98a7..2bfae7fb61e5866447317f284217ccb3c3184375 100644 (file)
@@ -1,3 +1,106 @@
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/102454
+       * coroutines.cc (analyze_fn_parms): Clean up synthetic names for
+       unnamed function params.
+       (morph_fn_to_coro): Do not try to set a guard variable for param
+       DTORs in the ramp, unless we have exceptions active.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-14  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (struct param_info): Add copy_var.
+       (build_actor_fn): Use simplified param references.
+       (register_param_uses): Likewise.
+       (rewrite_param_uses): Likewise.
+       (analyze_fn_parms): New function.
+       (coro_rewrite_function_body): Add proxies for the fn
+       parameters to the outer bind scope of the rewritten code.
+       (morph_fn_to_coro): Use simplified version of param ref.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-14  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (coro_resume_fn_id, coro_destroy_fn_id,
+       coro_promise_id, coro_frame_needs_free_id, coro_resume_index_id,
+       coro_self_handle_id, coro_actor_continue_id,
+       coro_frame_i_a_r_c_id): New.
+       (coro_init_identifiers): Initialize new name identifiers.
+       (coro_promise_type_found_p): Use pre-built identifiers.
+       (struct await_xform_data): Remove unused fields.
+       (transform_await_expr): Delete code that is now unused.
+       (build_actor_fn): Simplify interface, use pre-built identifiers and
+       remove transforms that are no longer needed.
+       (build_destroy_fn): Use revised field names.
+       (register_local_var_uses): Use pre-built identifiers.
+       (coro_rewrite_function_body): Simplify interface, use pre-built
+       identifiers.  Generate proxy vars in the outer bind expr scope for the
+       implementation state that we wish to expose.
+       (morph_fn_to_coro): Adjust comments for new variable names, use pre-
+       built identifiers.  Remove unused code to generate frame entries for
+       the implementation state.  Adjust call for build_actor_fn.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (register_local_var_uses): Do not mangle
+       frame entries for the outermost scope.  Record the outer
+       scope as nesting depth 0.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (coro_build_artificial_var): New.
+       (build_actor_fn): Use var builder, rename vars to use
+       implementation namespace.
+       (coro_rewrite_function_body): Likewise.
+       (morph_fn_to_coro): Likewise.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (transform_local_var_uses): Record
+       frame offset expressions as DECL_VALUE_EXPRs instead of
+       rewriting them.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-01  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (build_actor_fn): Add begin/finish clauses
+       to the initial test in the actor function.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-01  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (await_statement_walker): Use build_stmt and
+       add_stmt instead of build1 and finish_expr_stmt.
+
+2021-10-03  Jason Merrill  <jason@redhat.com>
+
+       Backported from master:
+       2021-05-07  Jason Merrill  <jason@redhat.com>
+
+       * coroutines.cc (build_co_await): Don't call 'rvalue'.
+       (flatten_await_stmt): Simplify initialization.
+       (morph_fn_to_coro): Change 'rvalue' to 'move'.  Simplify.
+
 2021-09-15  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from master:
index 02f702352cebd1329d700e1b174e62b62eb7e2e5..ce6bb9336a961ce560c448b2b9954853098f1510 100644 (file)
@@ -1,3 +1,22 @@
+2021-10-03  Harald Anlauf  <anlauf@gmx.de>
+
+       Backported from master:
+       2021-09-30  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/102458
+       * simplify.c (simplify_size): Resolve expressions used in array
+       specifications so that SIZE can be simplified.
+
+2021-10-03  Harald Anlauf  <anlauf@gmx.de>
+
+       Backported from master:
+       2021-09-24  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/102458
+       * expr.c (is_non_constant_intrinsic): Check for intrinsics
+       excluded in constant expressions (F2018:10.1.12).
+       (gfc_is_constant_expr): Use that check.
+
 2021-09-30  Harald Anlauf  <anlauf@gmx.de>
 
        Backported from master:
index 10bea36791f5d156bd7267d4b5eabf10184f7293..f023a1aeed348edfe555e945ff0466ee02a76d45 100644 (file)
@@ -1,3 +1,35 @@
+2021-10-03  Harald Anlauf  <anlauf@gmx.de>
+
+       Backported from master:
+       2021-09-30  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/102458
+       * gfortran.dg/pr102458b.f90: New test.
+
+2021-10-03  Harald Anlauf  <anlauf@gmx.de>
+
+       Backported from master:
+       2021-09-24  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/102458
+       * gfortran.dg/pr102458.f90: New test.
+
+2021-10-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/102454
+       * g++.dg/coroutines/pr102454.C: New test.
+
+2021-10-03  Jason Merrill  <jason@redhat.com>
+
+       Backported from master:
+       2021-05-07  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C:
+       Adjust diagnostic.
+
 2021-09-30  Harald Anlauf  <anlauf@gmx.de>
 
        Backported from master: