This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48450] [C++0x][SFINAE] Hard errors with static_cast expressions
- 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: Thu, 7 Apr 2011 21:47:52 +0000
- Subject: [Bug c++/48450] [C++0x][SFINAE] Hard errors with static_cast expressions
- Auto-submitted: auto-generated
- References: <bug-48450-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48450
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-07 21:47:48 UTC ---
Author: jason
Date: Thu Apr 7 21:47:45 2011
New Revision: 172146
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172146
Log:
PR c++/48450
* call.c (resolve_args): Take complain.
(build_new_function_call, build_operator_new_call): Pass it.
(build_op_call, build_new_op, build_new_method_call): Pass it.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/sfinae9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog