This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48452] [C++0x][SFINAE] Failures with n-ary initialization expressions (in return type)
- 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, 8 Apr 2011 15:02:21 +0000
- Subject: [Bug c++/48452] [C++0x][SFINAE] Failures with n-ary initialization expressions (in return type)
- Auto-submitted: auto-generated
- References: <bug-48452-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48452
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-08 15:02:12 UTC ---
Author: jason
Date: Fri Apr 8 15:02:08 2011
New Revision: 172193
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172193
Log:
PR c++/48452
* typeck.c (build_x_compound_expr_from_list): Return error_mark_node
in SFINAE context.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/sfinae10.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/typeck.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog