aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-01-28 19:28:01 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2006-01-28 19:28:01 +0000
commit7ca383e6791272a9f99390b5981ae476a9b490f1 (patch)
treecf01e7e1711bb0a24daf243f5df6daba7b5aa587 /gcc/expr.h
parente94aab95ee93fd7c5f31ad1ec5aecdb9c3c97453 (diff)
downloadgcc-7ca383e6791272a9f99390b5981ae476a9b490f1.zip
gcc-7ca383e6791272a9f99390b5981ae476a9b490f1.tar.gz
gcc-7ca383e6791272a9f99390b5981ae476a9b490f1.tar.bz2
re PR c++/25855 (template specialisation not always found (partial ordering))
PR c++/25855 * class.c (resolve_address_of_overloaded_function): Adjust use of return value from most_specialized_instantiation. * pt.c (determine_specialization): Avoid multiple calls to get_bindings. (most_specialized_instantiation): When a tie occurs, set the current presumed champion to the next template. Return the TREE_LIST node containing the template, rather than the template itself. (most_specialized): Remove. * name-lookup.c (push_overloaded_decl): When duplicate_decls indicates a failed redeclaration, report that to callers. PR c++/25855 * g++.dg/template/spec29.C: New test. From-SVN: r110332
Diffstat (limited to 'gcc/expr.h')
0 files changed, 0 insertions, 0 deletions