r172282 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Apr 11 22:00:00 GMT 2011
Author: jason
Date: Mon Apr 11 22:00:06 2011
New Revision: 172282
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172282
Log:
PR c++/48457, Core 1238
* call.c (reference_binding): Allow rvalue reference to bind to
function lvalue.
* tree.c (lvalue_kind): Functions are always lvalues.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/rv-func.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/20_util/is_convertible/value.cc
More information about the Gcc-cvs
mailing list