[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter

2007-02-03 Thread gdr at gcc dot gnu dot org


--- Comment #11 from gdr at gcc dot gnu dot org  2007-02-03 17:06 ---
Won't fix in GCC-4.0.x.  Adjusting milestone conservatively.
It is not even sure it is still present on gcc-4_1- branch.


-- 

gdr at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.0.4   |4.1.3


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



[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter

2007-02-03 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.1.3   |4.1.2


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



[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter

2007-01-06 Thread jbuck at gcc dot gnu dot org


--- Comment #10 from jbuck at gcc dot gnu dot org  2007-01-07 06:07 ---
I cannot duplicate this bug with gcc 4.1.1 or with the current 4.1 or 4.2
branches.  I don't get an ICE, just the expected error messages.

Is this bug still present?


-- 

jbuck at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jbuck at gcc dot gnu dot org


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



[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter

2006-08-10 Thread lmillward at gcc dot gnu dot org


--- Comment #9 from lmillward at gcc dot gnu dot org  2006-08-10 19:21 
---
The patch for this bug has been reverted on the 4.1 branch so re-adding the 4.1
regression marker.


-- 

lmillward at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.0 regression] ICE with   |[4.0/4.1 regression] ICE
   |invalid template parameter  |with invalid template
   ||parameter


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



[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter

2006-07-28 Thread lmillward at gcc dot gnu dot org


--- Comment #5 from lmillward at gcc dot gnu dot org  2006-07-28 17:02 
---
Fixed on mainline. Will apply to 4.1 branch when testing completes.


-- 

lmillward at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE
   |with invalid template   |with invalid template
   |parameter   |parameter


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



[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter

2006-07-28 Thread lmillward at gcc dot gnu dot org


--- Comment #6 from lmillward at gcc dot gnu dot org  2006-07-28 21:17 
---
Subject: Bug 27668

Author: lmillward
Date: Fri Jul 28 21:17:28 2006
New Revision: 115801

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115801
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_args): Likewise.
(coerce_template_template_parms): Likewise.
(coerce_template_parms): Likewise.
(mangle_class_name_for_template): Likewise.
(tsubst_template_parms): Likewise.
* error.c (dump_template_argument_list): Likewise.

* g++.dg/template/crash54.C: New test.
* g++.dg/template/nontype16.C: New test.
* g++.dg/template/nontype5.C: Adjust error markers.


Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/error.c
branches/gcc-4_1-branch/gcc/cp/pt.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C


-- 


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