re PR c++/11409 (using declarations and fabs built-in)
authorRoger Sayle <roger@eyesopen.com>
Sat, 6 Sep 2003 16:14:30 +0000 (16:14 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 6 Sep 2003 16:14:30 +0000 (16:14 +0000)
commit34ff26738c101dfa4a8dd25aecd3719f4481824a
treefbf5c5a92b6cd229539957d3a78ea8669ee81cb0
parentb9c87401ae95e5b970c32a854adbb154951551f3
re PR c++/11409 (using declarations and fabs built-in)

PR c++/11409
* class.c (resolve_address_of_overloaded_function): When building
list of matching non-template function decls, ignore anticipated
declarations of undeclared or shadowed GCC builtins.

* g++.dg/overload/builtin3.C: New test case.

From-SVN: r71139
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/builtin3.C [new file with mode: 0644]