This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49105] [C++0x][SFINAE] ICE during list-initialization of rvalue-references to const
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 May 2011 01:36:06 +0000
- Subject: [Bug c++/49105] [C++0x][SFINAE] ICE during list-initialization of rvalue-references to const
- Auto-submitted: auto-generated
- References: <bug-49105-4@http.gcc.gnu.org/bugzilla/>
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