public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org> 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 [thread overview] Message-ID: <bug-60241-4@http.gcc.gnu.org/bugzilla/> (raw) 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 <typename T> struct x { template <typename U> struct y { typedef T result2; }; typedef y<int> zy; }; template<> template<class T> struct x<int>::y { typedef double result2; }; int main() { x<int>::zy::result2 xxx; x<int>::y<int>::result2 xxx2; } 6.cpp: In instantiation of 'struct x<int>::y<int>': 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 <http://gcc.gnu.org/bugs.html> for instructions.
next reply other threads:[~2014-02-17 13:07 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-02-17 13:07 vanyacpp at gmail dot com [this message] 2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org 2014-02-17 15:37 ` jakub at gcc dot gnu.org 2014-02-21 18:52 ` jason at gcc dot gnu.org 2014-02-21 21:41 ` jason at gcc dot gnu.org 2014-02-22 5:03 ` [Bug c++/60241] [4.7/4.8 " jason at gcc dot gnu.org 2014-06-12 13:45 ` rguenth at gcc dot gnu.org 2014-08-01 18:34 ` [Bug c++/60241] [4.8 " jason at gcc dot gnu.org 2014-08-01 18:35 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-60241-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).