This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r217677 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 17 Nov 2014 22:09:28 -0000
- Subject: r217677 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...
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