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++/17729] [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning


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

--- Comment #38 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 21 20:51:03 2017
New Revision: 245643

URL: https://gcc.gnu.org/viewcvs?rev=245643&root=gcc&view=rev
Log:
        PR c++/50308 - wrong deprecated warning with ADL

        PR c++/17729 - duplicate deprecated warning
        * semantics.c (finish_id_expression): Only call mark_used on a
        function if we aren't building a call.

Added:
    trunk/gcc/testsuite/g++.dg/warn/deprecated-12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/c-c++-common/pr69558.c

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