cp: * search.c (lookup_conversion_operator): Avoid two loops.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 23 Jul 2004 08:53:36 +0000 (08:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 23 Jul 2004 08:53:36 +0000 (08:53 +0000)
commit8f2a734fc8d6d5ae168a2279462dcdc573f5ea71
tree90ccc3e9f4403f27ebca7a0b2148a0a48e41d6b7
parentc29cac0b6b728eee7083adec60479b09937d64be
cp: * search.c (lookup_conversion_operator): Avoid two loops.

(add_conversions): Remove.
(check_hidden_convs, split_conversions,
lookup_conversions_r): New.
(lookup_conversions): Use lookup_conversions_r.
testsuite:
* g++.dg/lookup/conv-[1234].C: New.

From-SVN: r85075
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/conv-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/conv-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/conv-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/conv-4.C [new file with mode: 0644]