http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51161

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-14 
05:18:48 UTC ---
Author: jason
Date: Wed Dec 14 05:18:39 2011
New Revision: 182322

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182322
Log:
    PR c++/51406
    PR c++/51161
    * typeck.c (build_static_cast_1): Fix cast of lvalue to
    base rvalue reference.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/rv-cast3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv-cast4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to