This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49105] [C++0x][SFINAE] ICE during list-initialization of rvalue-references to const


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-23 22:56:08 UTC ---
Author: jason
Date: Mon May 23 22:56:04 2011
New Revision: 174093

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174093
Log:
    PR c++/49105
    * typeck.c (cp_build_c_cast): Don't strip cv-quals when
    converting to reference.
    (build_static_cast_1): Update for glvalues.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/sfinae25.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]