From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19553 invoked by alias); 17 Feb 2014 13:07:36 -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 19535 invoked by uid 48); 17 Feb 2014 13:07:33 -0000 From: "vanyacpp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 Date: Mon, 17 Feb 2014 13:07: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.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vanyacpp at gmail dot com 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 Message-ID: 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: 2014-02/txt/msg01688.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241 Bug ID: 60241 Summary: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vanyacpp at gmail dot com I've got internal compiler error on the following code: template struct x { template struct y { typedef T result2; }; typedef y zy; }; template<> template struct x::y { typedef double result2; }; int main() { x::zy::result2 xxx; x::y::result2 xxx2; } 6.cpp: In instantiation of 'struct x::y': 6.cpp:23:19: required from here 6.cpp:16:1: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 Please submit a full bug report, with preprocessed source if appropriate. See for instructions.