From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55888 invoked by alias); 26 May 2015 11:44:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 55656 invoked by uid 48); 26 May 2015 11:44:14 -0000 From: "gereon.kremer at cs dot rwth-aachen.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59759] internal compiler error: in unify, using std::enable_if on classes Date: Tue, 26 May 2015 11:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gereon.kremer at cs dot rwth-aachen.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg02121.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59759 --- Comment #12 from Gereon Kremer = --- And once again. I just upgraded to gcc 5.1.0 Sure enough, it's not fixed... Test_GCC.cpp: In substitution of =E2=80=98template void f(const A<= T>*) [with T =3D ]=E2=80=99: Test_GCC.cpp:25:7: required from here Test_GCC.cpp:25:7: internal compiler error: in unify, at cp/pt.c:18571 f(map); >>From gcc-bugs-return-487282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 26 11:50:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69398 invoked by alias); 26 May 2015 11:50:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69187 invoked by uid 48); 26 May 2015 11:49:52 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66289] New: [5/6 Regression] "error: ambiguous template instantiation" with partial specialization defined in terms of alias template Date: Tue, 26 May 2015 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg02122.txt.bz2 Content-length: 1708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66289 Bug ID: 66289 Summary: [5/6 Regression] "error: ambiguous template instantiation" with partial specialization defined in terms of alias template Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- 5.1 and later incorrectly reject this, but it should compile because foo>> is more specialized than foo>: template struct A {}; template struct shared_ptr { }; template using APtr =3D shared_ptr>; template struct foo; template struct foo> { }; template struct foo> { }; foo>> aa; amb.cc:10:25: error: ambiguous template instantiation for =E2=80=98struct foo > >=E2=80=99 foo>> aa; ^ amb.cc:7:29: note: candidates are: template struct foo > [with T =3D A] template struct foo> { }; ^ amb.cc:8:29: note: template struct foo > [= with T =3D int] template struct foo> { }; ^ amb.cc:10:25: error: aggregate =E2=80=98foo > > aa=E2=80= =99 has incomplete type and cannot be defined foo>> aa; ^ >>From gcc-bugs-return-487283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 26 11:51:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71940 invoked by alias); 26 May 2015 11:51:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70004 invoked by uid 48); 26 May 2015 11:51:10 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66289] [5/6 Regression] "error: ambiguous template instantiation" with partial specialization defined in terms of alias template Date: Tue, 26 May 2015 11:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg02123.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66289 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-05-26 Known to work| |4.8.3, 4.9.2 Ever confirmed|0 |1 Known to fail| |5.1.0, 6.0