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++/64901] [4.9/5 Regression] overriding final function defined out of line does not lead to an error


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64901

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Feb  4 15:38:50 2015
New Revision: 220409

URL: https://gcc.gnu.org/viewcvs?rev=220409&root=gcc&view=rev
Log:
2015-02-04  Ville Voutilainen  <ville.voutilainen@gmail.com>

    PR c++/64901
    * decl.c (duplicate_decls): Also duplicate DECL_FINAL_P and
    DECL_OVERRIDE_P.

Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/decl.c
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/override1.C


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