This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17729] [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Feb 2017 20:51:36 +0000
- Subject: [Bug c++/17729] [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning
- Auto-submitted: auto-generated
- References: <bug-17729-4@http.gcc.gnu.org/bugzilla/>
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