re PR c++/48118 (g++ sometimes allows copying a volatile class)
authorJason Merrill <jason@redhat.com>
Fri, 18 Mar 2011 15:07:04 +0000 (11:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 18 Mar 2011 15:07:04 +0000 (11:07 -0400)
commite6baef836f11dd7273c258a41cbfc44f462e3828
tree22180fc51591043f48d923f17662442d4ae7437c
parentb4ef8aac30e7c17756d6a1ad8cbd6c914e960bb4
re PR c++/48118 (g++ sometimes allows copying a volatile class)

PR c++/48118
* call.c (build_over_call): Don't skip ck_rvalue.

From-SVN: r171147
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/volatile1.C [new file with mode: 0644]