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++/61945] [5 Regression] tree check fail with -Woverloaded-virtual


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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Sep 25 12:56:57 2014
New Revision: 215597

URL: https://gcc.gnu.org/viewcvs?rev=215597&root=gcc&view=rev
Log:
    PR c++/61945
    * class.c (warn_hidden): Check for FUNCTION_DECL.

    * g++.dg/warn/pr61945.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/warn/pr61945.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog


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