This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53186] [C++11] missing devirtualization for operators "final"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]