[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-09-25 Thread lmillward at gcc dot gnu dot org


--- Comment #3 from lmillward at gcc dot gnu dot org  2006-09-25 19:58 
---
Subject: Bug 27667

Author: lmillward
Date: Mon Sep 25 19:58:10 2006
New Revision: 117206

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117206
Log:
PR c++/27667
* cp-tree.h (begin_specialization): Return bool instead of void.
* pt.c (check_specialization_scope): Likwise. Adjust comment.
Return false if a specialization isn't permitted in the current scope,.
(begin_specialization): Use the return value of  
check_specialization_scope.
* parser.c (cp_parser_explicit_specialization): If
begin_specialization returned false, skip the rest of the
specialization.

* g++.dg/template/spec33.C: New test.
* g++.old-deja/g++.pt/spec20.C: Adjust error markers.


Added:
trunk/gcc/testsuite/g++.dg/template/spec33.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.old-deja/g++.pt/spec20.C


-- 


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



[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-09-23 Thread lmillward at gcc dot gnu dot org


-- 

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:59 |2006-09-23 16:18:52
   date||


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



[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-09-23 Thread patchapp at dberlin dot org


--- Comment #2 from patchapp at dberlin dot org  2006-09-23 16:20 ---
Subject: Bug number PR c++/27667

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-09/msg01017.html


-- 


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



[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-07-16 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P2  |P4


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



[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-06-04 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


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



[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-05-26 Thread bangerth at dealii dot org


--- 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:59
   date||


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



[Bug c++/27667] [4.0/4.1/4.2 regression] ICE with in-class specialization

2006-05-18 Thread pinskia at gcc dot gnu dot org


-- 

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=27667