public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/9737] [DR150] Partial template specialisation selection failure involving template parameter defaults Date: Tue, 07 Feb 2006 11:11:00 -0000 [thread overview] Message-ID: <20060207111136.18387.qmail@sourceware.org> (raw) In-Reply-To: <bug-9737-5473@http.gcc.gnu.org/bugzilla/> ------- Comment #22 from mmitchel at gcc dot gnu dot org 2006-02-07 11:11 ------- Subject: Bug 9737 Author: mmitchel Date: Tue Feb 7 11:11:30 2006 New Revision: 110693 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110693 Log: 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) Added: trunk/gcc/testsuite/g++.dg/template/ttp15.C trunk/gcc/testsuite/g++.dg/template/ttp16.C trunk/gcc/testsuite/g++.dg/template/ttp17.C Removed: trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp19.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp26.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp35.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp36.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp37.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp38.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp39.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp40.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp51.C trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/testsuite_tr1.h trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9737
next parent reply other threads:[~2006-02-07 11:11 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-9737-5473@http.gcc.gnu.org/bugzilla/> 2006-02-07 11:11 ` mmitchel at gcc dot gnu dot org [this message] 2006-02-07 11:14 ` mmitchel at gcc dot gnu dot org 2006-10-11 0:43 ` pinskia at gcc dot gnu dot org [not found] <20030217232600.9737.gccbugs@contacts.eelis.net> 2004-01-25 17:12 ` giovannibajo at libero dot it 2004-01-25 17:24 ` gdr at integrable-solutions dot net 2004-01-25 17:40 ` gianni at mariani dot ws 2004-01-25 18:13 ` giovannibajo at libero dot it 2004-01-25 18:25 ` gdr at integrable-solutions dot net 2004-01-25 19:28 ` gianni at mariani dot ws 2004-02-01 22:52 ` pinskia at gcc dot gnu dot org 2004-07-13 18:59 ` jens dot maurer at gmx dot net 2004-07-13 19:23 ` bangerth at dealii dot org 2004-09-02 15:09 ` lerdsuwa at gcc dot gnu dot org 2005-01-09 15:26 ` lerdsuwa at gcc dot gnu dot org 2005-03-30 16:00 ` pinskia at gcc dot gnu dot org 2005-08-31 19:49 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060207111136.18387.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).