public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10446: ICE on a definition of a nonexistent member function of a nested class in a class template
@ 2003-04-21  2:26 kparz
  0 siblings, 0 replies; 2+ messages in thread
From: kparz @ 2003-04-21  2:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10446
>Category:       c++
>Synopsis:       ICE on a definition of a nonexistent member function of a nested class in a class template
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 21 02:26:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Parzyszek
>Release:        3.4 20030419 (experimental)
>Organization:
>Environment:
System: FreeBSD arcturus.student.iastate.edu 4.8-STABLE FreeBSD 4.8-STABLE #24: Mon Apr 14 21:37:07 CDT 2003 kparz@arcturus.student.iastate.edu:/usr/obj/usr/src/sys/ARCTURUS i386


	
host: i386-unknown-freebsd4.8
build: i386-unknown-freebsd4.8
target: i386-unknown-freebsd4.8
configured with: ../gcc/configure --prefix=/u/gcc-20030419 --enable-languages=c,c++,f77
>Description:
Attempt to provide an out-of-class definition of a nonexistent member function of a class nested in a class template causes an ICE.  An ICE also occurs if the definition of the nested class `I' is removed.
>How-To-Repeat:
template <class T> struct L { struct I {}; };
template <class T> void L<T>::I::foo() {}

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/10446: ICE on a definition of a nonexistent member function of a nested class in a class template
@ 2003-04-21 14:36 Giovanni Bajo
  0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Bajo @ 2003-04-21 14:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
	<kparz@iastate.edu>,
	<gcc-bugs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>
Cc:  
Subject: Re: c++/10446: ICE on a definition of a nonexistent member function of a nested class in a class template
Date: Mon, 21 Apr 2003 16:26:49 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=10446
 
 Confirmed. It's an ICE on error recovery, present on 3.2/3.3/3.4. I rate
 this as a regression since 2.95 was correctly recovering.
 
 Giovanni Bajo
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-21 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-21  2:26 c++/10446: ICE on a definition of a nonexistent member function of a nested class in a class template kparz
2003-04-21 14:36 Giovanni Bajo

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