aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-01-18 11:53:50 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-01-18 11:53:50 +0000
commit5a752e3f7920c1d72c130096e0e0fea023cf8ffc (patch)
tree3046a3abdcbe7ee5a733086c11fc73ee9929a57c /gcc/cp/ChangeLog
parent7467ab4232babb1ac9b906fe91abb9226464b884 (diff)
downloadgcc-5a752e3f7920c1d72c130096e0e0fea023cf8ffc.zip
gcc-5a752e3f7920c1d72c130096e0e0fea023cf8ffc.tar.gz
gcc-5a752e3f7920c1d72c130096e0e0fea023cf8ffc.tar.bz2
PR c++/83160] local ref to capture
https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01638.html PR c++/83160 * cp-tree.h (mark_use): Declare. * expr.c (mark_use): Make extern. * call.c (direct_reference_binding): Set inner conv's rvaluedness_matches_p, if it is an identity. (convert_like_real): Mark lvalue or rvalue use for identity as rvaledness_matches_p demands. PR c++/83160 * g++.dg/cpp0x/pr83160.C: New. From-SVN: r256842
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 998e0b9..0cacefa 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,13 @@
+2018-01-18 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/83160
+ * cp-tree.h (mark_use): Declare.
+ * expr.c (mark_use): Make extern.
+ * call.c (direct_reference_binding): Set inner conv's
+ rvaluedness_matches_p, if it is an identity.
+ (convert_like_real): Mark lvalue or rvalue use for identity as
+ rvaledness_matches_p demands.
+
2018-01-18 Jakub Jelinek <jakub@redhat.com>
PR c++/83824