This is the mail archive of the gcc-bugs@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++/9574: [3.4 regression] parser crash


Old Synopsis: parser crash
New Synopsis: [3.4 regression] parser crash

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Feb  4 22:38:28 2003
State-Changed-Why:
    Confirmed. A regression on mainline, worked with 3.3.
    
    A minimal testcase is
    ----------------------
    struct X {
        void operator[](const int& __k);
    };
    
    struct foo {
        static X x;
    };
    
    struct bar {
        int z;
        bar () { foo::x[z]; };
    };
    -----------------------------
    tmp/g> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc: In constructor `bar::bar()':
    x.cc:11: internal compiler error: Segmentation fault
    
    W.

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


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