diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-07-30 00:16:24 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-07-30 00:16:24 +0000 |
commit | bea7a39103a5a86d5daabfff746316dfd4e42b3d (patch) | |
tree | f56f8fddc0ae628e9b5af16d9cd1f653f70f8db1 /gcc/cp | |
parent | a0d007d67c85ecf4030bad8a6cf95f31bc6cb656 (diff) | |
download | gcc-bea7a39103a5a86d5daabfff746316dfd4e42b3d.zip gcc-bea7a39103a5a86d5daabfff746316dfd4e42b3d.tar.gz gcc-bea7a39103a5a86d5daabfff746316dfd4e42b3d.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index eb25652..274a004 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,26 @@ +2020-07-29 Jason Merrill <jason@redhat.com> + + PR c++/91427 + * cp-tree.h (IMPLICIT_RVALUE_P): New. + (enum cp_lvalue_kind_flags): Add clk_implicit_rval. + (implicit_rvalue_p, set_implicit_rvalue_p): New. + * call.c (reference_binding): Check clk_implicit_rval. + (build_over_call): Adjust C++20 implicit move. + * coroutines.cc (finish_co_return_stmt): Simplify implicit move. + * except.c (build_throw): Adjust C++20 implicit move. + * pt.c (tsubst_copy_and_build) [STATIC_CAST_EXPR]: Propagate + IMPLICIT_RVALUE_P. + * tree.c (lvalue_kind): Set clk_implicit_rval. + * typeck.c (treat_lvalue_as_rvalue_p): Overhaul. + (maybe_warn_pessimizing_move): Adjust. + (check_return_expr): Adjust C++20 implicit move. + +2020-07-29 Jason Merrill <jason@redhat.com> + + PR c++/91212 + * call.c (build_over_call): Don't call a const ref + overload for implicit move. + 2020-07-28 Nathan Sidwell <nathan@acm.org> * cp-gimplify.c (cp_genericize_r): Set IMPORTED_DECL's context. |