]> gcc.gnu.org Git - gcc.git/commit
re PR c++/37204 ([c++0x] reinterpret_cast<T&&>(v) incorrectly yields an lvalue)
authorJason Merrill <jason@redhat.com>
Mon, 12 Oct 2009 04:39:04 +0000 (00:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 12 Oct 2009 04:39:04 +0000 (00:39 -0400)
commit45fe7947ed05c189b2010011593f9226326d06da
tree1d54db99f0113265799ae34c01951cd5bad4827c
parent420bc2e7aaf96b0da5e89857f7edc08fa45a1f36
re PR c++/37204 ([c++0x] reinterpret_cast<T&&>(v) incorrectly yields an lvalue)

PR c++/37204
* typeck.c (build_reinterpret_cast_1): Handle rvalue refs
properly.

From-SVN: r152661
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-reinterpret.C [new file with mode: 0644]
This page took 0.059904 seconds and 5 git commands to generate.