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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9311: [3.2/3.3 regression] ICE on illegal code using templates and inheritance


Old Synopsis: g++ 3.2.1 - ICE on illegal code using templates and inheritance
New Synopsis: [3.2/3.3 regression] ICE on illegal code using templates and inheritance

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Jan 14 08:53:30 2003
State-Changed-Why:
    Confirmed. The code ICEs with 3.0, 3.2 and 3.3. It produced
    a useful error with 2.95, and with present 3.4.
    
    Here's the code, for simpler cut-n-pasting:
    -----------------------
    template<typename T> class A {};
    
    template<typename T> class B {}; 
    
    template<typename T>
    class B<T>::C : public A<T> {}; 
    -----------------------
    
    W.

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


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