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


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-27 00:12:48 UTC ---
Author: paolo
Date: Fri Jan 27 00:12:41 2012
New Revision: 183593

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

    PR c++/51370
    * error.c (dump_decl, [TEMPLATE_ID_EXPR]): Handle error_mark_node
    as TREE_OPERAND (t, 1).

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

    PR c++/51370
    * g++.dg/template/crash112.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash112.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.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]