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.voutilai...@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