aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-08-16 00:17:23 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-08-16 00:17:23 +0000
commitec63a946ccb7ab16efd0830e5580351f2adff3db (patch)
tree1fbfc5a1b2327ec0fdd8ee78950b12e5ff8f08d9 /gcc/cp
parent8db5b71e212debcc4f6a17f80191ca187c307fcb (diff)
downloadgcc-ec63a946ccb7ab16efd0830e5580351f2adff3db.zip
gcc-ec63a946ccb7ab16efd0830e5580351f2adff3db.tar.gz
gcc-ec63a946ccb7ab16efd0830e5580351f2adff3db.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 06ca1a4..f1c96b4 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2022-08-15 Marek Polacek <polacek@redhat.com>
+
+ PR c++/106276
+ * typeck.cc (can_do_rvo_p): New.
+ (maybe_warn_pessimizing_move): Warn when moving a temporary object
+ in a return statement prevents copy elision.
+
2022-08-11 Marek Polacek <polacek@redhat.com>
PR middle-end/102633