public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/13094] ICE in make_unbound_class_template, v 3.4 20031112 Date: Tue, 18 Nov 2003 01:48:00 -0000 [thread overview] Message-ID: <20031118014806.2907.qmail@sources.redhat.com> (raw) In-Reply-To: <20031117235959.13094.ron_hylton@hotmail.com> ------- Additional Comments From reichelt at gcc dot gnu dot org 2003-11-18 01:47 ------- Confirmed. Here's a shorter testcase: ========================================================= template <typename> struct A {}; struct B { template <int> struct C {}; }; template <typename> struct D : A< B::template C<0> > {}; ========================================================= Mainline crashes with this snippet and previous versions issue an error message, although the code is valid IMHO. By adding "typename" before "B::template C<0>", one can make the code compile. The bug is related to PR 11715. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|i686-pc-cygwin | GCC host triplet|i686-pc-cygwin | GCC target triplet|i686-pc-cygwin | Keywords| |ice-on-valid-code, monitored Last reconfirmed|0000-00-00 00:00:00 |2003-11-18 01:48:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13094
next prev parent reply other threads:[~2003-11-18 1:48 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-11-18 0:00 [Bug c++/13094] New: " ron_hylton at hotmail dot com 2003-11-18 0:01 ` [Bug c++/13094] " ron_hylton at hotmail dot com 2003-11-18 0:02 ` ron_hylton at hotmail dot com 2003-11-18 1:48 ` reichelt at gcc dot gnu dot org [this message] 2003-11-18 16:04 ` lerdsuwa at gcc dot gnu dot org 2004-01-03 8:44 ` [Bug c++/13094] Incorrect type-id parsing lerdsuwa at gcc dot gnu dot org 2004-03-19 10:28 ` reichelt at gcc dot gnu dot org 2004-03-19 11:29 ` [Bug c++/13094] [3.5 regression] ICE with template-template parameters reichelt at gcc dot gnu dot org 2004-03-20 22:31 ` reichelt at gcc dot gnu dot org 2004-03-20 23:38 ` reichelt at gcc dot gnu dot org 2004-03-21 17:52 ` mmitchel at gcc dot gnu dot org 2004-05-25 5:10 ` reichelt at gcc dot gnu dot 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=20031118014806.2907.qmail@sources.redhat.com \ --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).