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

* [Bug debug/22583] polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461
  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 ` gdr at gcc dot gnu dot org
  2005-07-21  6:56 ` gdr at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-07-21  6:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-21 06:46:04
               date|                            |
            Summary|polymorphic local class =>  |polymorphic local class =>
                   |ICE in in lookup_decl_die,  |ICE in in lookup_decl_die,
                   |at dwarf2out.c:5461         |at dwarf2out.c:5461


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


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

* [Bug debug/22583] polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461
  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
  3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-07-21  6:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2005-07-21 06:55 -------
For some reasons Bugzilla did not want to understand that I'm reporting the
bug agains 4.1.0.  


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.0.2                       |4.1.0


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


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

* [Bug debug/22583] polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461
  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
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-21  7:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-21 07:09 -------
Actually it is only related to virtual function in a local class.  And this is a dup of bug 22034 and has 
nothing to do with Dan's rewrite at all but Honza's patch: <http://gcc.gnu.org/ml/gcc-cvs/2005-06/
msg00388.html>.

*** This bug has been marked as a duplicate of 22034 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug debug/22583] polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461
  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
                   ` (2 preceding siblings ...)
  2005-07-21  7:25 ` pinskia at gcc dot gnu dot org
@ 2005-07-21 13:19 ` gdr at integrable-solutions dot net
  3 siblings, 0 replies; 5+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-07-21 13:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-07-21 13:18 -------
Subject: Re:  polymorphic local class => ICE in in lookup_decl_die, at dwarf2out.c:5461

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Actually it is only related to virtual function in a local class.  And this is a dup of bug 22034 and has 
| nothing to do with Dan's rewrite at all but Honza's patch: <http://gcc.gnu.org/ml/gcc-cvs/2005-06/
| msg00388.html>.

Great!  

Apologies to Dan.

-- Gaby


-- 


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).