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


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-23 17:56:48 UTC ---
Author: paolo
Date: Mon Jan 23 17:56:42 2012
New Revision: 183445

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

    PR c++/51398
    * pt.c (parameter_of_template_p): Skip error_mark_node parameters.

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

    PR c++/51398
    * g++.dg/template/crash111.C: New.

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