[Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template and is dependent

2005-10-30 Thread mmitchel at gcc dot gnu dot org


--- Comment #8 from mmitchel at gcc dot gnu dot org  2005-10-31 04:40 
---
Leaving as P2.  I'm only 75% sure this is valid, but we should at least
investigate.


-- 


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



[Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template and is dependent

2005-10-28 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2005-10-29 04:15 ---
This problem is much harder than I though but basicially there are two issues,
we need to parse A in ~A as A which we don't as we require a class-type. 
The second issue is that we don't even get to the parsing of ~ because scope is
NULL as this is a dependent type.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||mmitchel at gcc dot gnu dot
   ||org


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



[Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template and is dependent

2005-10-28 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2005-10-29 03:59 ---
The issue is this is a depedent name.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[3.4/4.0/4.1 regression]|[3.4/4.0/4.1 regression]
   |Explicitly invoking |Explicitly invoking
   |destructor of template class|destructor of template class
   |in a template   |in a template and is
   ||dependent


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



[Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template

2005-10-28 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2005-10-29 03:57 ---
Hmm, pseudo_destructor_p is not being set to true.


-- 


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