c++/9640: segfault while compiling

ehrhardt@mathematik.uni-ulm.de ehrhardt@mathematik.uni-ulm.de
Mon Feb 10 23:39:00 GMT 2003


Synopsis: segfault while compiling

State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Mon Feb 10 23:39:44 2003
State-Changed-Why:
    Confirmed. 3.3 and 3.4 are not affected. A reduced example is this:
    
    template <class DataType> struct TreeTable
    {
            const static int a;
            int *parentLevels[a];
            TreeTable();
    };
    void f()
    {
        TreeTable<int> *t = new TreeTable<int>();
    }

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



More information about the Gcc-bugs mailing list