This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46046] internal compiler error with SFINAE expression in a template inside a template


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]