re PR c++/36744 ([C++0x] function modifying argument received by-value affects caller...
authorJason Merrill <jason@redhat.com>
Wed, 11 Feb 2009 05:23:02 +0000 (00:23 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 11 Feb 2009 05:23:02 +0000 (00:23 -0500)
commit952e24fed662bec5e6076a1adb6b5642a926c86e
treecd5dab2eab6b58e365a98497f181d91f83dc2e88
parent1d428010b4e72e25582ae6ba45901a6072f1bb94
re PR c++/36744 ([C++0x] function modifying argument received by-value affects caller's variable when passed as rvalue)

        PR c++/36744
        * tree.c (lvalue_p_1): Condition rvalue ref handling on
        treat_class_rvalues_as_lvalues, too.

From-SVN: r144091
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv9p.C [new file with mode: 0644]