public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/22583] New: polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461
@ 2005-07-21  6:46 gdr at gcc dot gnu dot org
  2005-07-21  6:51 ` [Bug debug/22583] " gdr at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-07-21  6:46 UTC (permalink / raw)
  To: gcc-bugs

GCC mainline is now ICEing on the following snipped 
(reduced from real-world code)

   struct A {
      virtual ~A() { }
   };

   void f()
   {
      struct B : A {
      };

      B b;
   }

Use g++ -g.

My preliminary analysis indicates that the ICE occurs while
building the vtable for the local class f::B.  

I believe this to be related to Dan's recent rework.

-- Gaby

-- 
           Summary: polymorphic local class => ICE in in lookup_decl_die, at
                    dwarf2out.c:5461
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
                CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org
 GCC build triplet: native
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: native


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-21 13:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-21  6:46 [Bug debug/22583] New: polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461 gdr at gcc dot gnu dot org
2005-07-21  6:51 ` [Bug debug/22583] " gdr at gcc dot gnu dot org
2005-07-21  6:56 ` gdr at gcc dot gnu dot org
2005-07-21  7:25 ` pinskia at gcc dot gnu dot org
2005-07-21 13:19 ` gdr at integrable-solutions dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).