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++/9706: Internal error: segmentation fault


Synopsis: Internal error: segmentation fault

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Feb 14 21:40:34 2003
State-Changed-Why:
    Confirmed. This is a reduced piece of code:
    -----------------------
    class B {
        struct XXX {};
        int XXX;
    };
    
    template <typename T> struct Y : B    {};
    template <typename T> struct Z : Y<T> {};
    ------------------------
    This ICEs gcc 2.95 through 3.3, and is accepted by 3.4.
    I think 3.4 is actually in error here, since you shouldn't
    be able to have variables and classes of the same name.
    There's another report already about this problem, but
    I don't know whether they are really equivalent.
    
    W.

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


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