| Summary: | Partial specialization of template with dependent non-type template argument not correctly resolved | ||
|---|---|---|---|
| Product: | gcc | Reporter: | Tom De Caluwé <decaluwe.t> |
| Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | daniel.kruegler, jason |
| Priority: | P3 | ||
| Version: | 4.8.1 | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Known to work: | ||
| Known to fail: | Last reconfirmed: | ||
| Attachments: | The preprocessed code | ||
|
Description
Tom De Caluwé
2013-11-08 17:09:03 UTC
This is indeed the same issue as 59044. *** This bug has been marked as a duplicate of bug 59044 *** Author: jason Date: Thu Dec 5 22:46:36 2013 New Revision: 205720 URL: http://gcc.gnu.org/viewcvs?rev=205720&root=gcc&view=rev Log: PR c++/59044 PR c++/59052 * pt.c (most_specialized_class): Use the partially instantiated template for deduction. Drop the TMPL parameter. Added: trunk/gcc/testsuite/g++.dg/template/partial14.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c Author: jason Date: Thu Dec 5 23:28:25 2013 New Revision: 205723 URL: http://gcc.gnu.org/viewcvs?rev=205723&root=gcc&view=rev Log: PR c++/59044 PR c++/59052 * pt.c (most_specialized_class): Use the partially instantiated template for deduction. Drop the TMPL parameter. Added: branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/partial14.C Modified: branches/gcc-4_8-branch/gcc/cp/ChangeLog branches/gcc-4_8-branch/gcc/cp/pt.c |