From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22869 invoked by alias); 8 Apr 2002 01:18:38 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22838 invoked by uid 61); 8 Apr 2002 01:18:38 -0000 Date: Sun, 07 Apr 2002 18:18:00 -0000 Message-ID: <20020408011838.22837.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, simons+gccbug@cryp.to From: rodrigc@gcc.gnu.org Reply-To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, simons+gccbug@cryp.to, gcc-gnats@gcc.gnu.org Subject: Re: c++/6215: Internal error #2000 in g++ 3.0.4 X-SW-Source: 2002-04/txt/msg00455.txt.bz2 List-Id: Synopsis: Internal error #2000 in g++ 3.0.4 State-Changed-From-To: open->closed State-Changed-By: rodrigc State-Changed-When: Sun Apr 7 18:18:37 2002 State-Changed-Why: Problem reproduced with gcc 3.0.4. With gcc 3.1 20020401 (prerelease), the compiler does not crash but produces many compilation errors: In file included from m.cpp:3: AgingCache.h:101: `template template class MaciekUtils::AgingCache::cache_position' used without template parameters AgingCache.h:102: ISO C++ forbids declaration of `cp' with no type AgingCache.h:122: syntax error before `(' token AgingCache.h:130: semicolon missing after declaration of ` MaciekUtils::AgingCache' AgingCache.h: In constructor `MaciekUtils::AgingCache::AgingCache(int, DisposeFun)': AgingCache.h:71: class `MaciekUtils::AgingCache' does not have any field named `_maxsize' AgingCache.h:71: class `MaciekUtils::AgingCache' does not have any field named `_dispfun' AgingCache.h: At global scope: AgingCache.h:130: ISO C++ forbids defining types within return type AgingCache.h:130: syntax error before `(' token AgingCache.h:131: ISO C++ forbids declaration of `end' with no type AgingCache.h: In function `int MaciekUtils::end()': AgingCache.h:132: `_keylist' undeclared (first use this function) AgingCache.h:132: (Each undeclared identifier is reported only once for each function it appears in.) AgingCache.h:132: `cache_position' undeclared (first use this function) AgingCache.h: At global scope: AgingCache.h:136: syntax error before `&' token AgingCache.h:143: syntax error before `&' token AgingCache.h:152: syntax error before `&' token AgingCache.h:155: parse error before `&' token AgingCache.h:162: `keylist_iterator' was not declared in this scope AgingCache.h:162: `i' was not declared in this scope AgingCache.h:163: parse error before `{' token AgingCache.h:166: syntax error before `.' token AgingCache.h:167: syntax error before `.' token AgingCache.h:168: ISO C++ forbids declaration of `i' with no type AgingCache.h:168: `_keylist' was not declared in this scope AgingCache.h:169: parse error before `return' AgingCache.h:173: parse error before `&' token AgingCache.h: In function `void remove_by_iter(...)': AgingCache.h:175: `call_dispose_fun' undeclared (first use this function) AgingCache.h:176: `_vallist' undeclared (first use this function) AgingCache.h:176: base operand of `->' is not a pointer AgingCache.h:177: `_keylist' undeclared (first use this function) AgingCache.h: At global scope: AgingCache.h:181: parse error before `&' token AgingCache.h: In function `void call_dispose_fun(...)': AgingCache.h:182: `void call_dispose_fun(...)' used prior to declaration AgingCache.h:183: `keyiter' undeclared (first use this function) AgingCache.h:183: `_dispfun' undeclared (first use this function) AgingCache.h: At global scope: AgingCache.h:186: `keylist_elem_type' was not declared in this scope AgingCache.h:186: template argument 1 is invalid AgingCache.h:186: template argument 2 is invalid AgingCache.h:186: ISO C++ forbids declaration of `_keylist' with no type AgingCache.h:186: `int _keylist' used prior to declaration AgingCache.h:187: `ValT' was not declared in this scope AgingCache.h:187: template argument 1 is invalid AgingCache.h:187: template argument 2 is invalid AgingCache.h:187: ISO C++ forbids declaration of `_vallist' with no type AgingCache.h:187: `int _vallist' used prior to declaration AgingCache.h:189: 'DisposeFun' is used as a type, but is not defined as a type. AgingCache.h:190: parse error before `}' token AgingCache.h:307: parse error before `::' token AgingCache.h:309: `bool operator==(...)' must have an argument of class or enumerated type AgingCache.h:309: `bool operator==(...)' must take exactly two arguments AgingCache.h:314: parse error before `::' token AgingCache.h:316: `bool operator!=(...)' must have an argument of class or AgingCache.h: In function `void remove_by_iter(...)': AgingCache.h:175: `call_dispose_fun' undeclared (first use this function) AgingCache.h:176: `_vallist' undeclared (first use this function) AgingCache.h:176: base operand of `->' is not a pointer AgingCache.h:177: `_keylist' undeclared (first use this function) AgingCache.h: At global scope: AgingCache.h:181: parse error before `&' token AgingCache.h: In function `void call_dispose_fun(...)': AgingCache.h:182: `void call_dispose_fun(...)' used prior to declaration AgingCache.h:183: `keyiter' undeclared (first use this function) AgingCache.h:183: `_dispfun' undeclared (first use this function) AgingCache.h: At global scope: AgingCache.h:186: `keylist_elem_type' was not declared in this scope AgingCache.h:186: template argument 1 is invalid AgingCache.h:186: template argument 2 is invalid AgingCache.h:186: ISO C++ forbids declaration of `_keylist' with no type AgingCache.h:186: `int _keylist' used prior to declaration AgingCache.h:187: `ValT' was not declared in this scope AgingCache.h:187: template argument 1 is invalid AgingCache.h:187: template argument 2 is invalid AgingCache.h:187: ISO C++ forbids declaration of `_vallist' with no type AgingCache.h:187: `int _vallist' used prior to declaration AgingCache.h:189: 'DisposeFun' is used as a type, but is not defined as a type. AgingCache.h:190: parse error before `}' token AgingCache.h:307: parse error before `::' token AgingCache.h:309: `bool operator==(...)' must have an argument of class or enumerated type AgingCache.h:309: `bool operator==(...)' must take exactly two arguments AgingCache.h:314: parse error before `::' token AgingCache.h:316: `bool operator!=(...)' must have an argument of class or enumerated type http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6215