[Bug c++/17795] New: [3.4] ICE in pop_binding

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Oct 2 18:20:00 GMT 2004


struct Base
{
        class AutoReadLock { };
};
struct Standalone
{
        class AutoLock { };
        typedef AutoLock AutoReadLock;
};
struct Derived : Base
{
        struct LocalMember : public Standalone { };
        class AutoReadLock { };
};

z.cc:14: internal compiler error: in pop_binding, at cp/name-lookup.c:392

Works in 4.0, but fails with all prior versions.

-- 
           Summary: [3.4] ICE in pop_binding
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17795



More information about the Gcc-bugs mailing list