This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46046] internal compiler error with SFINAE expression in a template inside a template
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Oct 2010 22:58:16 +0000
- Subject: [Bug c++/46046] internal compiler error with SFINAE expression in a template inside a template
- Auto-submitted: auto-generated
- References: <bug-46046-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46046
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2010-10-19 22:58:14 UTC ---
Author: paolo
Date: Tue Oct 19 22:58:11 2010
New Revision: 165708
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165708
Log:
/cp
2010-10-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46046
* pt.c (add_to_template_args): Check extra_args for error_mark_node.
(coerce_template_parms): Likewise for args.
/testsuite
2010-10-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46046
* g++.dg/template/crash104.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash104.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog