[Bug c++/42514] [4.3/4.4 Regression] Invalid Destructor Name of A Template Class Is Accepted

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 30 19:35:00 GMT 2009



------- Comment #2 from jason at gcc dot gnu dot org  2009-12-30 19:35 -------
4.5 already says

wa.C:8:11: error: declaration of ‘~typename Base<T>::BaseTypo’ as member of
‘Base<T>’

for this testcase.  Closing as fixed, as backporting the fix seems a little
risky for an invalid code bug.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.3.3 4.4.2 4.5.0           |4.3.3 4.4.2
      Known to work|4.2.5                       |4.2.5 4.5.0
         Resolution|                            |FIXED
            Summary|[4.3/4.4/4.5 Regression]    |[4.3/4.4 Regression] Invalid
                   |Invalid Destructor Name of A|Destructor Name of A
                   |Template Class Is Accepted  |Template Class Is Accepted
   Target Milestone|---                         |4.5.0


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



More information about the Gcc-bugs mailing list