This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [<ef="subjects.html#02213">Subject Index] [Author Index] [Thread Index]
Message Nav: [DjĀ:nb;Prev]&n/A>] [Thread PrevThread Next]

Re: c++/1031


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

From: rod@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, kkunzelm@yahoo.com, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/1031
Date: 11 Mar 200120:02 -0000

 Synopsis: Internal compiler error when using virtual methods in class that is subclass of template of self
 
 e-Changed-From-To: open->closed
 State-Changed-By: rodrigc
 State-Changed-When: Sun Mar 11 10:20:01 2001
 State-Changed-W     Your xbugtotal.cc attachment contains four test cases.
     The last 3 test cases compile fine with gcc 3.0.
     
     first test case results in a compiler error:
     b.cc: In instantiation of `Temp<B>':
     b.cc:33:   instantiated fhere
     b.cc:29: conflicting return type specified for `C* Temp<C>::MyMethod() [with C
        = B]'
     b.cc:21:  jĀ:rring `virtualresult in an internal compiler error in
     gcc 3.0.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view;pr=1031&database=gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread I]
Message Nav: [Date Prev]&nbDate Next] [Thread Prev] [Thread Next]