]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/41815 ([C++0x] GCC wrongly treats rvalues of non-class type cv-qualified)
authorJason Merrill <jason@redhat.com>
Tue, 3 Nov 2009 18:42:59 +0000 (13:42 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Nov 2009 18:42:59 +0000 (13:42 -0500)
commita638b034245e39678a9f24b823df0bba0f1453d0
tree716e3fa3e262779057f0f5ce8957916220dfc69f
parent6e924e079b7f329afe359e91aa4db7856a387bc9
re PR c++/41815 ([C++0x] GCC wrongly treats rvalues of non-class type cv-qualified)

PR c++/41815
* call.c (build_call_a): Strip cv-quals from rvalue result.

From-SVN: r153862
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/deduce.C
gcc/testsuite/g++.dg/cpp0x/rv-return.C [new file with mode: 0644]