[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

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


--- Comment #3 from lmillward at gcc dot gnu dot org  2006-08-21 17:41 
---
Subject: Bug 28741

Author: lmillward
Date: Mon Aug 21 17:41:18 2006
New Revision: 116303

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116303
Log:
PR c++/28741
* tree.c (decl_anon_ns_mem_p): Robustify.
* decl2.c (determine_visibility): Likewise.

* g++.dg/template/void7.C: New test.


Added:
trunk/gcc/testsuite/g++.dg/template/void7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

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


--- Comment #4 from lmillward at gcc dot gnu dot org  2006-08-21 17:42 
---
Fixed on mainline.


-- 

lmillward at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

2006-08-20 Thread patchapp at dberlin dot org


--- Comment #2 from patchapp at dberlin dot org  2006-08-20 07:00 ---
Subject: Bug number PR c++/28741

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-08/msg00715.html


-- 


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



[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

2006-08-20 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P4


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



[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

2006-08-19 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-08-18 04:46:37 |2006-08-19 19:11:01
   date||


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



[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

2006-08-17 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-18 04:46 ---
Actually I don't think this is fallout of that patch but really of the
anonymous namespace changes which added decl_anon_ns_mem_p.

Confirmed.

Most likely introduced by:
2006-06-29  Jason Merrill  [EMAIL PROTECTED]

PR c++/21581
PR c++/25915
* tree.c (decl_anon_ns_mem_p): New function.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn|27668   |
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-08-18 04:46:37
   date||


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



[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class

2006-08-15 Thread reichelt at gcc dot gnu dot org


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.2.0


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