public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/97453] New: Implement CWG issue 2303 @ 2020-10-16 5:41 kamleshbhalui at gmail dot com 2020-10-16 13:59 ` [Bug c++/97453] " mpolacek at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: kamleshbhalui at gmail dot com @ 2020-10-16 5:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 Bug ID: 97453 Summary: Implement CWG issue 2303 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kamleshbhalui at gmail dot com Target Milestone: --- https://wg21.cmeerw.net/cwg/issue2303 Testcases like below should compile. $cat test.cc template <typename... T> struct A; template <> struct A<> {}; template <typename T, typename... Ts> struct A<T, Ts...> : A<Ts...> {}; struct B : A<int> {}; template <typename... T> void f(const A<T...>&); void g() { f(B{}); } ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97453] Implement CWG issue 2303 2020-10-16 5:41 [Bug c++/97453] New: Implement CWG issue 2303 kamleshbhalui at gmail dot com @ 2020-10-16 13:59 ` mpolacek at gcc dot gnu.org 2020-10-21 10:52 ` kamleshbhalui at gmail dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mpolacek at gcc dot gnu.org @ 2020-10-16 13:59 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |mpolacek at gcc dot gnu.org Blocks| |94404 Last reconfirmed| |2020-10-16 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 [Bug 94404] [meta-bug] C++ core issues ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97453] Implement CWG issue 2303 2020-10-16 5:41 [Bug c++/97453] New: Implement CWG issue 2303 kamleshbhalui at gmail dot com 2020-10-16 13:59 ` [Bug c++/97453] " mpolacek at gcc dot gnu.org @ 2020-10-21 10:52 ` kamleshbhalui at gmail dot com 2020-11-03 19:36 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: kamleshbhalui at gmail dot com @ 2020-10-21 10:52 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 --- Comment #2 from Kamlesh Kumar <kamleshbhalui at gmail dot com> --- patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556672.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97453] Implement CWG issue 2303 2020-10-16 5:41 [Bug c++/97453] New: Implement CWG issue 2303 kamleshbhalui at gmail dot com 2020-10-16 13:59 ` [Bug c++/97453] " mpolacek at gcc dot gnu.org 2020-10-21 10:52 ` kamleshbhalui at gmail dot com @ 2020-11-03 19:36 ` cvs-commit at gcc dot gnu.org 2020-11-10 0:04 ` mpolacek at gcc dot gnu.org 2022-02-01 12:49 ` marxin at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-11-03 19:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:ed7f9957bbb5e899099e1ef0e5f6234c453ef7da commit r11-4693-ged7f9957bbb5e899099e1ef0e5f6234c453ef7da Author: kamlesh kumar <kamleshbhalui@gmail.com> Date: Mon Nov 2 20:40:21 2020 +0530 c++: DR2303, ambiguous base deduction [PR97453] When there are two possible matches and one is a base of the other, choose the derived class rather than fail. gcc/cp/ChangeLog 2020-10-21 Kamlesh Kumar <kamleshbhalui@gmail.com> Jason Merrill <jason@redhat.com> PR c++/97453 DR2303 * pt.c (get_template_base): Consider closest base in template deduction when base of base also matches. gcc/testsuite/ChangeLog 2020-10-21 Kamlesh Kumar <kamleshbhalui@gmail.com> * g++.dg/DRs/dr2303.C: New test. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97453] Implement CWG issue 2303 2020-10-16 5:41 [Bug c++/97453] New: Implement CWG issue 2303 kamleshbhalui at gmail dot com ` (2 preceding siblings ...) 2020-11-03 19:36 ` cvs-commit at gcc dot gnu.org @ 2020-11-10 0:04 ` mpolacek at gcc dot gnu.org 2022-02-01 12:49 ` marxin at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: mpolacek at gcc dot gnu.org @ 2020-11-10 0:04 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Implemented in GCC 11. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97453] Implement CWG issue 2303 2020-10-16 5:41 [Bug c++/97453] New: Implement CWG issue 2303 kamleshbhalui at gmail dot com ` (3 preceding siblings ...) 2020-11-10 0:04 ` mpolacek at gcc dot gnu.org @ 2022-02-01 12:49 ` marxin at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: marxin at gcc dot gnu.org @ 2022-02-01 12:49 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.niebler at gmail dot com --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- *** Bug 60803 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-02-01 12:49 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-10-16 5:41 [Bug c++/97453] New: Implement CWG issue 2303 kamleshbhalui at gmail dot com 2020-10-16 13:59 ` [Bug c++/97453] " mpolacek at gcc dot gnu.org 2020-10-21 10:52 ` kamleshbhalui at gmail dot com 2020-11-03 19:36 ` cvs-commit at gcc dot gnu.org 2020-11-10 0:04 ` mpolacek at gcc dot gnu.org 2022-02-01 12:49 ` marxin at gcc dot gnu.org
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).