[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-12-18 Thread jason at gcc dot gnu dot org


--- Comment #5 from jason at gcc dot gnu dot org  2009-12-18 23:14 ---
Fixed for 4.5, not backporting invalid-code changes.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|4.3.5   |4.5.0


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



[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-12-18 Thread jason at gcc dot gnu dot org


--- Comment #4 from jason at gcc dot gnu dot org  2009-12-18 20:50 ---
Subject: Bug 42062

Author: jason
Date: Fri Dec 18 20:49:58 2009
New Revision: 155349

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155349
Log:
PR c++/28300
PR c++/42062
* pt.c (check_specialization_namespace): Complain about
specialization at non-namespace scope.

Added:
trunk/gcc/testsuite/g++.dg/template/spec37.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-12-18 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-11-27 11:20:05 |2009-12-18 16:24:01
   date||


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



[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-11-30 Thread paolo dot carlini at oracle dot com


--- Comment #3 from paolo dot carlini at oracle dot com  2009-11-30 14:07 
---
The second part seems to me essentially a duplicate of PR28300.


-- 


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



[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-11-30 Thread paolo dot carlini at oracle dot com


--- Comment #2 from paolo dot carlini at oracle dot com  2009-11-30 14:02 
---
The ICE part is fixed by my patch for PR34272.


-- 


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



[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-11-27 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2009-11-27 11:20 ---
P2 for the accepts-invalid, the ICE would have been P5.  Please consider
splitting this bug.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Priority|P3  |P2
   Last reconfirmed|-00-00 00:00:00 |2009-11-27 11:20:05
   date||


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



[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-11-15 Thread reichelt at gcc dot gnu dot org


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.5


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