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]

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


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


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