re PR c++/50034 (Overload selection failure within class template)
authorJason Merrill <jason@redhat.com>
Fri, 12 Aug 2011 21:27:52 +0000 (17:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Aug 2011 21:27:52 +0000 (17:27 -0400)
commit98b3c04ea504e749c84367f45b7972fac8d48d94
tree6c15f2b6d3e4c004f128ecc62003eb025fe1626b
parent7b4ef66246ab45928f337bde3d509a28352ebfb1
re PR c++/50034 (Overload selection failure within class template)

PR c++/50034
* call.c (convert_arg_to_ellipsis): force_rvalue only in
potentially evaluated context.

From-SVN: r177722
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted28.C