public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6949: [2003-01-22] ICE in tsubst_decl, at cp/pt.c:5733
@ 2003-05-12 17:06 Christian Ehrhardt
  0 siblings, 0 replies; only message in thread
From: Christian Ehrhardt @ 2003-05-12 17:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/6949; it has been noted by GNATS.

From: "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de>
To: gcc-prs@gcc.gnu.org, rubin@contractor.net, gcc-bugs@gcc.gnu.org,
  gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/6949: [2003-01-22] ICE in tsubst_decl, at cp/pt.c:5733
Date: Mon, 12 May 2003 18:58:18 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6949
 
 A further cleaned up testcase is below. The problem is that tsubst_decl
 expects non NULL DECL_TEMPLATE_INFO on the prototype declaration of the
 member function g in this assertion around line 6000 in cp/pt.c:
 
 |  /* Nobody should be tsubst'ing into non-template functions.  */
 |  my_friendly_assert (DECL_TEMPLATE_INFO (t) != NULL_TREE, 0);
 
 template<class T>
 void f(const T&)
 {
         struct B {
 		
                 void g (T);
         };
         B b;
 };
 void g()
 {
         f(42);
 }
 
    regards  Christian
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-12 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 17:06 c++/6949: [2003-01-22] ICE in tsubst_decl, at cp/pt.c:5733 Christian Ehrhardt

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).