https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59823

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
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

Reply via email to