c++/8906: [3.2/3.3 regression] segmentation fault when parsing nested-class definition

bangerth@dealii.org bangerth@dealii.org
Wed Dec 11 17:18:00 GMT 2002


Old Synopsis: G++ 3.2 raises segmentation fault when parsing nested-class definition
New Synopsis: [3.2/3.3 regression] segmentation fault when parsing nested-class definition

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Dec 11 17:18:33 2002
State-Changed-Why:
    Confirmed. It used to work until 3.0, but fails with 3.2
    and 3.3. Here's the code:
    ---------------------
    template <class T> class CO {
        class CI1 {
            class CI2;
        };
    };
    
    template <class T>
    class CO<T>::CI1::CI2 {};
    ---------------------
    
    Using my GNU-compiler-collection, I see that this regression
    has been introduced in the first half of July:
    ../bin/gcc-2002-06-15 +
    ../bin/gcc-2002-07-01 +
    ../bin/gcc-2002-07-15 X
    ../bin/gcc-2002-08-01 X

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



More information about the Gcc-prs mailing list