http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49105
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 01:08:42 UTC --- Author: jason Date: Wed May 25 01:08:38 2011 New Revision: 174162 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174162 Log: PR c++/49105 * typeck.c (build_const_cast_1): Handle rvalue references. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-cast2.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/typeck.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog