This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r182339 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 14 Dec 2011 16:03:10 -0000
- Subject: r182339 - in /branches/gcc-4_6-branch/gcc: cp/C...
Author: jason
Date: Wed Dec 14 16:03:07 2011
New Revision: 182339
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182339
Log:
PR c++/51406
PR c++/51161
* typeck.c (build_static_cast_1): Fix cast of lvalue to
base rvalue reference.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-cast3.C
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-cast4.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