From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93082 invoked by alias); 14 Apr 2015 19:45:44 -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 93043 invoked by uid 48); 14 Apr 2015 19:45:38 -0000 From: "galbramc at mit dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65764] New: internal compiler error: in retrieve_specialization, at cp/pt.c:1048 Date: Tue, 14 Apr 2015 19:45: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: galbramc at mit dot edu X-Bugzilla-Status: UNCONFIRMED 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 bug_severity priority component assigned_to reporter attachments.created 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-04/txt/msg01143.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65764 Bug ID: 65764 Summary: internal compiler error: in retrieve_specialization, at cp/pt.c:1048 Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: galbramc at mit dot edu Created attachment 35313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D35313&action=3Dedit Output from g++ -v -save-temps -std=3Dc++11 test_bug.cpp Compiling class U1 {}; class U2 {}; class T1 {}; class T2 {}; template class A; template class A { }; template class B { template using AA =3D A; }; template class C { template using AA =3D typename BB::template AA; }; int main() { C< B > c; } Results in the error: test_bug.cpp: In substitution of =E2=80=98template using AA = =3D A [with tmpX1 =3D U1]=E2=80=99: test_bug.cpp:27:45: required from =E2=80=98class C >=E2=80=99 test_bug.cpp:32:17: required from here test_bug.cpp:20:30: internal compiler error: in retrieve_specialization, at cp/pt.c:1048 using AA =3D A; I have attached the complete output using -v -save-temps.=20 This bug is in gcc-4_9-branch of the repository, but appears to have been f= ixed in gcc-5-branch. I don't know if there are any plans to port the fixes back= to 4.8 or 4.9. We use Ubuntu 14.04 (where 4.8 is currently the standard), and = were hoping not to have to ask developers to use 5.0 for the software developmen= t. >>From gcc-bugs-return-483592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 14 21:03:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73695 invoked by alias); 14 Apr 2015 21:03:31 -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 73635 invoked by uid 48); 14 Apr 2015 21:03:26 -0000 From: "abutcher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65750] [4.9/5 Regression] misinterpret in a virtual member function with a C++11 style function signature Date: Tue, 14 Apr 2015 21:03: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: abutcher at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg01144.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65750 --- Comment #5 from Adam Butcher --- This lookahead sketch (https://gcc.gnu.org/ml/gcc-patches/2015-04/msg00712.html) appears to work but I've don't limited testing.