[Bug c++/53186] [C++11] missing devirtualization for operators "final"
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 3 14:32:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53186
--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-03 14:32:20 UTC ---
Author: paolo
Date: Thu May 3 14:32:15 2012
New Revision: 187098
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187098
Log:
/cp
2012-05-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53186
* call.c (build_over_call): Handle final member functions
and class types.
(build_new_method_call_1): Do not handle here.
/testsuite
2012-05-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53186
* g++.dg/other/final2.C: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/other/final2.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/call.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list