re PR c++/49389 ([C++0x] Wrong value category for pointer-to-member expression with...
authorJason Merrill <jason@redhat.com>
Tue, 14 Jun 2011 18:15:58 +0000 (14:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 Jun 2011 18:15:58 +0000 (14:15 -0400)
commit0171567edce496309e2a364e563b7cf066923918
tree300061c01b7df3453d9339e24a044912ddc6672a
parent2bbf86a46bdece05107c54d94c4c8d41a2d17023
re PR c++/49389 ([C++0x] Wrong value category for pointer-to-member expression with rvalue object expression)

PR c++/49389
* typeck2.c (build_m_component_ref): Preserve rvalueness.

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