[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-07-28 17:01 --- Subject: Bug 27668 Author: lmillward Date: Fri Jul 28 17:01:19 2006 New Revision: 115800 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115800 Log: PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_arg): Likewise. (coerce_template_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash55.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/void2.C: Adjust error markers. * g++.dg/template/nontype5.C: Adjust error markers. Added: trunk/gcc/testsuite/g++.dg/template/crash55.C trunk/gcc/testsuite/g++.dg/template/nontype16.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/template/nontype5.C trunk/gcc/testsuite/g++.dg/template/void2.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
--- Comment #3 from patchapp at dberlin dot org 2006-07-26 23:35 --- Subject: Bug number PR c++/27668 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01130.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-05-26 15:06:09 |2006-07-26 18:04:00 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
--- Comment #2 from patchapp at dberlin dot org 2006-07-20 17:40 --- Subject: Bug number PR c++/27668 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00868.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P2 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
--- Comment #1 from bangerth at dealii dot org 2006-05-26 15:06 --- Confirmed. -- bangerth at dealii dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-05-26 15:06:09 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668