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++/31516] ICE on nested templates
Date: Tue, 10 Apr 2007 00:23:00 -0000	[thread overview]
Message-ID: <20070410002254.16777.qmail@sourceware.org> (raw)
In-Reply-To: <bug-31516-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from reichelt at gcc dot gnu dot org  2007-04-10 01:22 -------
Well, it crashes for me:

GCC 2.95.3:
PR31516.cc: In method `A<{anon}>::B<{anon}>::foo()::C::C()':
PR31516.cc:7: ../../../gcc-2.95.3/gcc/cp/pt.c:2493: Expect 't', have
'function_decl'

GCC 3.0.4:
PR31516.cc: In member function `void A<<anonymous> >::B<<anonymous> >::foo()':
PR31516.cc:7: Tree check: expected class 't', have 'd' (function_decl) in 
   push_template_decl_real, at cp/pt.c:2687
Please submit a full bug report, [etc.]

GCC 3.2.3:
PR31516.cc: In member function `void A<<anonymous> >::B<<anonymous> >::foo()':
PR31516.cc:7: tree check: expected class 't', have 'd' (function_decl) in 
   push_template_decl_real, at cp/pt.c:2776
Please submit a full bug report, [etc.]

GCC 3.3.6:
PR31516.cc: In member function `void A<<anonymous> >::B<<anonymous> >::foo()':
PR31516.cc:7: internal compiler error: tree check: expected class 't', have 'd' 
   (function_decl) in push_template_decl_real, at cp/pt.c:2897
Please submit a full bug report, [etc.]

Maybe you don't have checking enabled for the release versions?


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking


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


  parent reply	other threads:[~2007-04-10  0:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-09 20:19 [Bug c++/31516] New: " reichelt at gcc dot gnu dot org
2007-04-09 23:31 ` [Bug c++/31516] " bangerth at dealii dot org
2007-04-10  0:23 ` reichelt at gcc dot gnu dot org [this message]
2007-04-10 18:18 ` bangerth at dealii dot org
2007-08-15 15:25 ` pcarlini at suse dot de

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=20070410002254.16777.qmail@sourceware.org \
    --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).