[Bug c++/17729] [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 21 20:51:00 GMT 2017
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
More information about the Gcc-bugs
mailing list