[Bug c++/53613] Cannot override a inline "= default" virtual destructor.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 11 10:29:00 GMT 2012


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-11 10:28:40 UTC ---
(In reply to comment #3)
> (In reply to comment #1)
> > Fixed on trunk by patch for PR 50043
> 
> Did this patch apply to 4.7 branch?

PR 50043 shows a single commit to trunk and has Target Milestone 4.8.0, so no,
it's only fixed on trunk.

> I retested with 4.7 branch 20120610, The bug is still exist.

Yes, and it probably won't be fixed on the release branch as it's not a
regression.  New features are not usually added to released versions.

In any case, there's a simple workaround of adding explicit 'noexcept'
specifiers, which will still work with 4.8

I'm marking this as a dup of PR 50043 as the failure to compile is a direct
consequence of not implementing DR 1123

*** This bug has been marked as a duplicate of bug 50043 ***



More information about the Gcc-bugs mailing list