re PR c++/49105 ([C++0x][SFINAE] ICE during list-initialization of rvalue-references...
authorJason Merrill <jason@redhat.com>
Mon, 23 May 2011 22:55:56 +0000 (18:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 23 May 2011 22:55:56 +0000 (18:55 -0400)
commit66d83eeea9a150217ce3e5ed4fd30aff8a063716
tree980bef33f0fd5e2e075d46ce522f0798c192c441
parent828fb3ba9958f3117680efb9ade199fc7e98f462
re PR c++/49105 ([C++0x][SFINAE] ICE during list-initialization of rvalue-references to const)

PR c++/49105
* typeck.c (build_const_cast_1): Handle rvalue references.

From-SVN: r174092
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-cast2.C [new file with mode: 0644]