public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13289] ICE in regenerate_decl_from_template on recursive template
Date: Thu, 04 Dec 2003 17:15:00 -0000	[thread overview]
Message-ID: <20031204171554.28922.qmail@sources.redhat.com> (raw)
In-Reply-To: <20031203235040.13289.gianni@mariani.ws>


------- Additional Comments From bangerth at dealii dot org  2003-12-04 17:15 -------
This is somewhat simpler to understand: 
------------------------ 
template <int N> struct S { 
    static const int C; 
}; 
 
template <int N> 
const int S<N>::C = S<(N+1)%2>::C; 
 
template struct S<1>; 
------------------------- 
 
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc 
x.cc: In instantiation of `const int S<1>::C': 
x.cc:6:   instantiated from `const int S<0>::C' 
x.cc:6:   instantiated from `const int S<1>::C' 
x.cc:8:   instantiated from here 
x.cc:6: internal compiler error: in regenerate_decl_from_template, at cp/
pt.c:10771 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13289


  parent reply	other threads:[~2003-12-04 17:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 23:50 [Bug c++/13289] New: internal compiler error : regenerate_decl_from_template, at cp/pt.c:10131 gianni at mariani dot ws
2003-12-03 23:54 ` [Bug c++/13289] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-04 17:11 ` [Bug c++/13289] ICE in regenerate_decl_from_template on recursive template bangerth at dealii dot org
2003-12-04 17:15 ` bangerth at dealii dot org [this message]
2003-12-04 17:26 ` [Bug c++/13289] [3.3/3.4 regression] " reichelt at gcc dot gnu dot org
2003-12-04 19:54 ` bangerth at dealii dot org
2003-12-19 14:39 ` lerdsuwa at gcc dot gnu dot org
2003-12-20 20:35 ` pinskia at gcc dot gnu dot org
2003-12-24 16:21 ` lerdsuwa at gcc dot gnu dot org
2003-12-29 11:35 ` cvs-commit at gcc dot gnu dot org
2003-12-29 11:58 ` lerdsuwa at gcc dot gnu dot org
2004-01-12 20:10 ` cvs-commit at gcc dot gnu dot org
2004-01-12 20:11 ` [Bug c++/13289] [3.3 " pinskia at gcc dot gnu dot org
2004-01-21  3:26 ` gdr at gcc dot gnu dot org
2004-01-21  3:26 ` cvs-commit 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=20031204171554.28922.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: link
Be 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).