This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 90. Bug report
- To: Roberto Viviani <rv103 at hermes dot cam dot ac dot uk>
- Subject: Re: Internal compiler error 90. Bug report
- From: Thomas Kunert <kunert at physik dot tu-dresden dot de>
- Date: Fri, 14 Aug 1998 16:30:15 +0200
- CC: egcs-bugs at cygnus dot com
- Organization: TU Dresden
- References: <Pine.SOL.3.95q.980814080307.18323A-100000@green.csi.cam.ac.uk>
Roberto Viviani wrote:
>
> Object: bug report - typedef-ined types of template classes generate error
> 90 in nested classes
>
> The following code snippet generates the error message 'Internal compiler
> error 90. Please submit a full bug report to etc.':
>
> template<class T> class baseclass {
> public:
> typedef int* iterator;
> };
>
> template<class T> class derived : public baseclass<T> {
> public:
> typedef baseclass<T> base;
> void f(base::iterator i); //this compiles ok
> class internal {
> public:
> void g(base::iterator i); //<- error here
> };
> };
What compiler do you use? For me the error occurs with egcs-1.0.2 and
gcc-2.8.1, but not with the current snapshot.
Seems to be fixed for the upcoming egcs-1.1 .
--
Thomas Kunert