This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r213502 - in /branches/gcc-4_8-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 01 Aug 2014 18:33:54 -0000
- Subject: r213502 - in /branches/gcc-4_8-branch/gcc: cp/C...
Author: jason
Date: Fri Aug 1 18:33:54 2014
New Revision: 213502
URL: https://gcc.gnu.org/viewcvs?rev=213502&root=gcc&view=rev
Log:
PR c++/59823
Core DR 1138
* call.c (reference_binding): Pass LOOKUP_NO_TEMP_BIND for
list-initialization. A conversion to rvalue ref that involves
an lvalue-rvalue conversion is bad.
(convert_like_real): Give helpful error message.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/overload3.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/call.c