PR c++/50308 - wrong deprecated warning with ADL
authorJason Merrill <jason@redhat.com>
Tue, 21 Feb 2017 20:51:03 +0000 (15:51 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Feb 2017 20:51:03 +0000 (15:51 -0500)
commit626aeaa7acf6b73d0d4df5f628cb127bd9848cba
tree765061121d3dc24ba7155a22889049683b9ce6c6
parent46b48ef565a731734522304b95b893ea07ac7ca0
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.

From-SVN: r245643
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/c-c++-common/pr69558.c
gcc/testsuite/g++.dg/warn/deprecated-12.C [new file with mode: 0644]