From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15720 invoked by alias); 28 Oct 2010 08:50:21 -0000 Received: (qmail 15666 invoked by uid 22791); 28 Oct 2010 08:50:18 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Oct 2010 08:50:13 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/46043] attribute to mark virtual methods that can't be further overriden so they can be devirtualized X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 28 Oct 2010 08:50:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg02380.txt.bz2 Message-ID: <20101028085000.HFzqHUlnXR35BIIYPVyUJV2uhCQ9kzJbarR2bi7VlAM@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46043 --- Comment #5 from Jonathan Wakely 2010-10-28 08:50:07 UTC --- This should be suspended, the C++0x mechanisms are not finalised (pun intended) and might become keywords rather than attributes http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3151.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3163.pdf PR 31397 and PR 36848 are related, the C++0x proposals would solve this report and those ones