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++/51402] [4.6/4.7 Regression] ICE with invalid template parameter


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51402

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-20 17:21:27 UTC ---
Author: paolo
Date: Fri Jan 20 17:21:19 2012
New Revision: 183345

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183345
Log:
/cp
2012-01-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51402
    * pt.c (lookup_template_class_1): Check context returned by
    tsubst for error_mark_node.

/testsuite
2012-01-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51402
    * g++.dg/template/crash110.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash110.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]