re PR c++/69657 (abs() not inlined after including math.h)
authorJason Merrill <jason@redhat.com>
Wed, 10 Feb 2016 15:34:59 +0000 (10:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 Feb 2016 15:34:59 +0000 (10:34 -0500)
commit89908c8f2b5107f92dcd9a33098797cdf848a151
tree3663c16f5b1eac203bbfd48d713506551dc0295c
parentff2faafcf689b6c2a277dce15a3d60d80c92e493
re PR c++/69657 (abs() not inlined after including math.h)

PR c++/69657

* name-lookup.c (ambiguous_decl): Call remove_hidden_names.
(lookup_name_real_1): Likewise.
(remove_hidden_names): Handle non-functions too.

From-SVN: r233278
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/lookup/builtin7.C [new file with mode: 0644]