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++/37204] [c++0x] reinterpret_cast<T&&>(v) incorrectly yields an lvalue



------- Comment #2 from jason at gcc dot gnu dot org  2009-10-12 04:39 -------
Subject: Bug 37204

Author: jason
Date: Mon Oct 12 04:39:04 2009
New Revision: 152661

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152661
Log:
        PR c++/37204
        * typeck.c (build_reinterpret_cast_1): Handle rvalue refs
        properly.

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


-- 


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


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