]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/33911
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Nov 2014 22:09:27 +0000 (22:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Nov 2014 22:09:27 +0000 (22:09 +0000)
commit59edbc2ae2b034ae1151e2aa93ec3f46a8f20481
tree43393cf81b5de470bf2fc196aad45e02ec102856
parent630c50aa193dea8521e56921e12b5cfb98ea0287
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217677 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl2.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/ext/attr-deprecated-1.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/include/backward/binders.h
libstdc++-v3/include/ext/array_allocator.h