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

--- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Nov 17 22:09:27 2014
New Revision: 217677

URL: https://gcc.gnu.org/viewcvs?rev=217677&root=gcc&view=rev
Log:
    PR c++/33911
gcc/cp/
    * call.c (build_call_a): Don't warn_deprecated_use here.
    (build_over_call): Or here.
    * decl2.c (mark_used): Do it here.
    (is_late_template_attribute): Attribute deprecated is not deferred.
    (cplus_decl_attributes): Propagate TREE_DEPRECATED out to the template.
    * parser.c (cp_parser_template_name): Warn about deprecated template.
    (cp_parser_template_argument): Likewise.
libstdc++-v3/
    * include/backward/binders.h: Suppress -Wdeprecated-declarations.
    * include/ext/array_allocator.h: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/ext/attr-deprecated-1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/parser.c
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/backward/binders.h
    trunk/libstdc++-v3/include/ext/array_allocator.h

Reply via email to