public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2461: ICE in incomplete_type_error
@ 2001-11-09 18:18 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2001-11-09 18:18 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: lerdsuwa@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, snyder@fnal.gov
Cc:  
Subject: Re: c++/2461: ICE in incomplete_type_error
Date: 18 Nov 2001 07:04:15 -0000

 Synopsis: ICE in incomplete_type_error
 
 State-Changed-From-To: analyzed->closed
 State-Changed-By: lerdsuwa
 State-Changed-When: Sat Nov 17 23:04:11 2001
 State-Changed-Why:
     Fixed in the main trunk.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2461&database=gcc


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

* Re: c++/2461: ICE in incomplete_type_error
@ 2002-02-23 17:46 rodrigc
  0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-02-23 17:46 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, snyder

Synopsis: ICE in incomplete_type_error

State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Feb 23 17:44:31 2002
State-Changed-Why:
    Reproduced with gcc 3.0.4.
    
    With gcc version 3.1 20020217 (experimental),
    the code compiles, with the following warning:
    
    x.cc:10: warning: `typename vector<T, int>::iterator' is implicitly a
    typename
    x.cc:10: warning: implicit typename is deprecated, please see the documentation
       for details

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2461


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

* Re: c++/2461: ICE in incomplete_type_error
@ 2001-11-13 12:56 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2001-11-13 12:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: lerdsuwa@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, snyder@fnal.gov
Cc:  
Subject: Re: c++/2461: ICE in incomplete_type_error
Date: 19 Nov 2001 11:44:49 -0000

 Synopsis: ICE in incomplete_type_error
 
 State-Changed-From-To: closed->analyzed
 State-Changed-By: lerdsuwa
 State-Changed-When: Mon Nov 19 03:44:49 2001
 State-Changed-Why:
     Oops, mistake in my previous test.  The bug is still not
     fixed.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2461&database=gcc


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

* Re: c++/2461: ICE in incomplete_type_error
@ 2001-11-13 12:51 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2001-11-13 12:51 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, nobody, snyder

Synopsis: ICE in incomplete_type_error

State-Changed-From-To: closed->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Mon Nov 19 03:44:49 2001
State-Changed-Why:
    Oops, mistake in my previous test.  The bug is still not
    fixed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2461&database=gcc


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

* Re: c++/2461: ICE in incomplete_type_error
@ 2001-11-09 17:59 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2001-11-09 17:59 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, nobody, snyder

Synopsis: ICE in incomplete_type_error

State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Nov 17 23:04:11 2001
State-Changed-Why:
    Fixed in the main trunk.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2461&database=gcc


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

* c++/2461: ICE in incomplete_type_error
@ 2001-04-02 13:16 snyder
  0 siblings, 0 replies; 6+ messages in thread
From: snyder @ 2001-04-02 13:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2461
>Category:       c++
>Synopsis:       ICE in incomplete_type_error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 02 13:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     scott snyder
>Release:        3.0 20010402 (prerelease)
>Organization:
>Environment:
System: Linux karma 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../egcs/configure --prefix=/usr/local/egcs --enable-threads=posix --enable-long-long
>Description:

gcc 3.0 crashes when compiling the source below.
Note that the input is ill-formed, due to a missing `typename' keyword
at line 10.  But that was difficult to find in the much larger source
from which this was extracted, as the error messages did not point
at the erroneous line.

>How-To-Repeat:

----------------------------------------------------------------
template <class _Tp, class _Alloc = int>
struct vector
{
  typedef int iterator;
};

template<class T> struct bcTagChunk
{
  void doLinks ();
  vector<T>::iterator i;
};

template <class LINK>
struct MultiLinkIndexVector
{
  typedef vector<LINK> LinkList;
};

template <typename CHUNK, typename LINK >
struct MultiLinkPtrVector
{
  MultiLinkPtrVector ()
  {
    typename MultiLinkIndexVector<LINK>::LinkList::iterator i;
  }
};
  
void processEvent(bcTagChunk<int>* likelihoodchunk)
{
  likelihoodchunk->doLinks();
}
----------------------------------------------------------------

$ ./cc1plus x.cc
 MultiLinkPtrVector<CHUNK, LINK>::MultiLinkPtrVector() void processEvent(bcTagChunk<int>*)
x.cc: At global scope:
x.cc: In instantiation of `bcTagChunk<int>':
x.cc:30:   instantiated from here
x.cc:8: Internal error #108.

x.cc:8: Internal compiler error in incomplete_type_error, at cp/typeck2.c:249
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.


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


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

end of thread, other threads:[~2002-02-24  1:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-09 18:18 c++/2461: ICE in incomplete_type_error lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2002-02-23 17:46 rodrigc
2001-11-13 12:56 lerdsuwa
2001-11-13 12:51 lerdsuwa
2001-11-09 17:59 lerdsuwa
2001-04-02 13:16 snyder

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