diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-02-07 11:11:30 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-02-07 11:11:30 +0000 |
commit | e7e9396544525de5ad6e09527b4b3d29ab1e6429 (patch) | |
tree | b84246452027309b78b972cb94e51976cb9d0314 /libgcc-math/flt-32 | |
parent | 369681318051ea25a6933cf21f32e98919b1c680 (diff) | |
download | gcc-e7e9396544525de5ad6e09527b4b3d29ab1e6429.zip gcc-e7e9396544525de5ad6e09527b4b3d29ab1e6429.tar.gz gcc-e7e9396544525de5ad6e09527b4b3d29ab1e6429.tar.bz2 |
re PR c++/9737 ([DR150] Partial template specialisation selection failure involving template parameter defaults)
PR c++/9737
* pt.c (coerce_template_template_parms): Do not templates with
excess default arguments to match template template parameters
with fewer parameters.
(coerce_template_parms): Add use_default_args parameter; use
default arguments only when true.
(lookup_template_class): Adjust call to coerce_template_parms.
(fn_type_unification): Likewise.
(unify): Likewise.
(get_bindings): Likewise.
(dependent_type_p): Add assertions.
PR c++/9737
* g++.dg/template/ttp15.C: New test.
* g++.dg/template/ttp16.C: Likewise.
* g++.dg/template/ttp17.C: Likewise.
* g++.old-deja/g++.pt/ttp36.C: Remove.
* g++.old-deja/g++.pt/ttp19.C: Likewise.
* g++.old-deja/g++.pt/ttp37.C: Likewise.
* g++.old-deja/g++.pt/ttp38.C: Likewise.
* g++.old-deja/g++.pt/ttp39.C: Likewise.
* g++.old-deja/g++.pt/ttp9.C: Likewise.
* g++.old-deja/g++.pt/ttp40.C: Likewise.
* g++.old-deja/g++.pt/ttp51.C: Likewise.
* g++.old-deja/g++.pt/ttp26.C: Likewise.
* g++.old-deja/g++.pt/ttp36.C: Likewise.
* testsuite/testsuite_tr1.h (test_property): New function.
* testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc
(test01)
From-SVN: r110693
Diffstat (limited to 'libgcc-math/flt-32')
0 files changed, 0 insertions, 0 deletions