c++/9777: ICE in pop_binding: Name clash between a class and a method triggers ice.

bangerth@dealii.org bangerth@dealii.org
Thu Feb 20 17:25:00 GMT 2003


Old Synopsis: Name clash between a class and a method triggers ice.
New Synopsis: ICE in pop_binding: Name clash between a class and a method triggers ice.

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Feb 20 17:25:48 2003
State-Changed-Why:
    Confirmed. Smaller snippet:
    -----------------------
    struct B {
        struct foo {};
        struct bar {
            void foo();
        };
    };
    
    struct D :  B {
        struct bar : B::bar {};
        struct foo : B::foo {};
    };
    -------------------------
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc:11: internal compiler error: in pop_binding, at cp/decl.c:1137
    Please submit a full bug report,
    
    Problem exists in all versions from 2.95 through to present
    3.4.
    
    The ICE happens in pop_binding, for which I believe there
    are several other open reports already: PR 157 and PR 5402.
    The latter seems somehow related, but is not exactly the same...
    
    W.

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



More information about the Gcc-bugs mailing list