This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r266772 - in /trunk/gcc: cp/ChangeLog cp/typeck...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 04 Dec 2018 08:44:13 -0000
- Subject: r266772 - in /trunk/gcc: cp/ChangeLog cp/typeck...
Author: jakub
Date: Tue Dec 4 08:44:12 2018
New Revision: 266772
URL: https://gcc.gnu.org/viewcvs?rev=266772&root=gcc&view=rev
Log:
PR c++/88103
* typeck.c (build_class_member_access_expr): If unary_complex_lvalue
turned xvalue_p into non-xvalue_p, call move on it.
* g++.dg/cpp0x/rv-cond3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/rv-cond3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog