This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50034] [4.7 regression] Overload selection failure within class template
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Aug 2011 21:28:01 +0000
- Subject: [Bug c++/50034] [4.7 regression] Overload selection failure within class template
- Auto-submitted: auto-generated
- References: <bug-50034-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50034
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-12 21:28:01 UTC ---
Author: jason
Date: Fri Aug 12 21:27:52 2011
New Revision: 177722
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177722
Log:
PR c++/50034
* call.c (convert_arg_to_ellipsis): force_rvalue only in
potentially evaluated context.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted28.C