]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/69657 (abs() not inlined after including math.h)
authorJason Merrill <jason@redhat.com>
Tue, 16 Feb 2016 19:01:49 +0000 (14:01 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 16 Feb 2016 19:01:49 +0000 (14:01 -0500)
commit7128d6ab21878794ac2107961338fc8621536a40
tree41b17557337b02e51200aaf86dbe7f1eddc56eeb
parent7005800cd120168075924fe4aa254b6f80c500c7
re PR c++/69657 (abs() not inlined after including math.h)

PR c++/69657
* name-lookup.c (lookup_qualified_name): Add find_hidden parm.
(set_decl_namespace): Pass it.  Complain about finding a hidden friend.
* name-lookup.h: Adjust.

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