diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2001-01-22 13:51:43 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-01-22 13:51:43 +0000 |
commit | 62e4a758537dd6c82a0a2ce1b0cd75842e41441c (patch) | |
tree | 8feaf4e16f95f3879323455ce542e7a5e0b35e7e /gcc/explow.c | |
parent | 0bbcfbafc8aa36f62eb4d347301cf80498ac3464 (diff) | |
download | gcc-62e4a758537dd6c82a0a2ce1b0cd75842e41441c.zip gcc-62e4a758537dd6c82a0a2ce1b0cd75842e41441c.tar.gz gcc-62e4a758537dd6c82a0a2ce1b0cd75842e41441c.tar.bz2 |
cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.
cp:
* cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.
(more_specialized): Add deduction parameter.
* call.c (joust): Adjust more_specialized call.
* pt.c (UNIFY_ALLOW_OUTER_MORE_CV_QUAL,
UNIFY_ALLOW_OUTER_LESS_CV_QUAL): New unify flags.
(get_bindings_order): Remove.
(get_bindings_real): Add DEDUCE parameter.
(maybe_adjust_types_for_deduction): Return extra unify flags. Do
REFERENCE_TYPE jig for DEDUCE_ORDER.
(type_unification_real): Deal with DEDUCE_ORDER. Use result of
maybe_adjust_types_for_deduction.
(more_specialized): Add DEDUCE parameter. Call get_bindings_real
directly.
(try_one_overload): Use result of maybe_adjust_types_for_deduction.
(check_cv_quals_for_unify): Use new unify qualifier flags.
(unify): Clear new unify qualifier flags.
(get_bindings_real): Add DEDUCE parameter.
(get_bindings): Adjust call to get_bindings_real.
(get_bindings_overload): Likewise.
(most_specialized_instantiation): Adjust call to
more_specialized.
testsuite:
* g++.old-deja/g++.martin/sts_partial.C: Remove XFAIL.
* g++.old-deja/g++.pt/spec35.C: New test.
* g++.old-deja/g++.pt/spec36.C: New test.
From-SVN: r39182
Diffstat (limited to 'gcc/explow.c')
0 files changed, 0 insertions, 0 deletions