public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes @ 2011-06-21 15:23 paolo.carlini at oracle dot com 2011-06-21 16:04 ` [Bug c++/49488] " redi at gcc dot gnu.org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: paolo.carlini at oracle dot com @ 2011-06-21 15:23 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 Summary: [C++0x] Use 'final' for devirtualization purposes Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: paolo.carlini@oracle.com This is an internal reminder for this issue, which I already briefly discussed with Jason in private email and also @ Google GCC Gathering a few days ago, where the issue has been classified by the knowledgeable attendees largely as a c++ front-end one. Link to Vincenzo' message on the gcc mailing list raising explicitly the issue for the first time: http://gcc.gnu.org/ml/gcc/2011-05/msg00319.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com @ 2011-06-21 16:04 ` redi at gcc dot gnu.org 2011-06-21 16:11 ` paolo.carlini at oracle dot com ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2011-06-21 16:04 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-21 16:03:43 UTC --- *cough* PR 46043 *cough* ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com 2011-06-21 16:04 ` [Bug c++/49488] " redi at gcc dot gnu.org @ 2011-06-21 16:11 ` paolo.carlini at oracle dot com 2011-06-21 16:17 ` redi at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: paolo.carlini at oracle dot com @ 2011-06-21 16:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.06.21 16:10:35 Ever Confirmed|0 |1 --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-21 16:10:35 UTC --- Indeed, Honza suggested that final could be also a c++03 attribute (no idea if he knows about that older PR...) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com 2011-06-21 16:04 ` [Bug c++/49488] " redi at gcc dot gnu.org 2011-06-21 16:11 ` paolo.carlini at oracle dot com @ 2011-06-21 16:17 ` redi at gcc dot gnu.org 2011-07-17 13:12 ` jason at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2011-06-21 16:17 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-21 16:16:22 UTC --- Last I checked G++ supported 'final' with -std=c++98 -pedantic-errors, I don't know if that's been fixed yet. It's definitely useful to support it in c++98 mode, I don't care whether it's via an attribute or a virt-specifier ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com ` (2 preceding siblings ...) 2011-06-21 16:17 ` redi at gcc dot gnu.org @ 2011-07-17 13:12 ` jason at gcc dot gnu.org 2011-09-21 1:16 ` paolo.carlini at oracle dot com 2012-05-02 8:01 ` vincenzo.innocente at cern dot ch 5 siblings, 0 replies; 7+ messages in thread From: jason at gcc dot gnu.org @ 2011-07-17 13:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zsojka at seznam dot cz --- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-17 13:11:39 UTC --- *** Bug 46043 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com ` (3 preceding siblings ...) 2011-07-17 13:12 ` jason at gcc dot gnu.org @ 2011-09-21 1:16 ` paolo.carlini at oracle dot com 2012-05-02 8:01 ` vincenzo.innocente at cern dot ch 5 siblings, 0 replies; 7+ messages in thread From: paolo.carlini at oracle dot com @ 2011-09-21 1:16 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.7.0 --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-20 23:44:07 UTC --- Implemented with: 2011-09-20 Roberto Agostino Vitillo <ravitillo@lbl.gov> * call.c (build_new_method_call_1): Use non-virtual lookup for final virtual functions. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com ` (4 preceding siblings ...) 2011-09-21 1:16 ` paolo.carlini at oracle dot com @ 2012-05-02 8:01 ` vincenzo.innocente at cern dot ch 5 siblings, 0 replies; 7+ messages in thread From: vincenzo.innocente at cern dot ch @ 2012-05-02 8:01 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49488 --- Comment #6 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-02 08:00:07 UTC --- it looks to me that it is not effective with operators (see PR53186) ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-05-02 8:01 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-06-21 15:23 [Bug c++/49488] New: [C++0x] Use 'final' for devirtualization purposes paolo.carlini at oracle dot com 2011-06-21 16:04 ` [Bug c++/49488] " redi at gcc dot gnu.org 2011-06-21 16:11 ` paolo.carlini at oracle dot com 2011-06-21 16:17 ` redi at gcc dot gnu.org 2011-07-17 13:12 ` jason at gcc dot gnu.org 2011-09-21 1:16 ` paolo.carlini at oracle dot com 2012-05-02 8:01 ` vincenzo.innocente at cern dot ch
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).