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

bangerth@dealii.org bangerth@dealii.org
Tue Jan 14 17:49:00 GMT 2003


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



More information about the Gcc-bugs mailing list