public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/20513] New: ICE when compiling with debug info and embedded using
@ 2005-03-17  7:18 lenz at cs dot wisc dot edu
  2005-03-17  7:26 ` [Bug c++/20513] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: lenz at cs dot wisc dot edu @ 2005-03-17  7:18 UTC (permalink / raw)
  To: gcc-bugs

test.cc:12: internal compiler error: in force_decl_die, at dwarf2out.c:12488

I get an ICE when compiling the following file with the -g flag.  If -g is not
passed, it compiles fine.  This is with the latest gcc-4.0 package in the
debian-amd64 gcc-3.4 archive, which reports as "gcc (GCC) 4.0.0 20050304
(prerelease) (Debian 4.0-0pre7)"

  class Foo {
  public:
    int x;
    virtual ~Foo() { }
    virtual Foo* blah() { return this; }
  };

  class FooBar : public Foo {
  public:
    using Foo::blah;
    using Foo::x;
  };


int main() { return 0; }

-- 
           Summary: ICE when compiling with debug info and embedded using
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lenz at cs dot wisc dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/20513] [4.0/4.1 Regression] ICE when compiling with debug info and embedded using
  2005-03-17  7:18 [Bug debug/20513] New: ICE when compiling with debug info and embedded using lenz at cs dot wisc dot edu
@ 2005-03-17  7:26 ` pinskia at gcc dot gnu dot org
  2005-03-17  7:27 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-17  7:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-17 07:26 -------
Confirmed, reduced to:
struct Foo {
  int x;
  virtual ~Foo() { }
};
struct FooBar : Foo {
  using Foo::x;
};

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|debug                       |c++
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-17 07:26:12
               date|                            |
            Summary|ICE when compiling with     |[4.0/4.1 Regression] ICE
                   |debug info and embedded     |when compiling with debug
                   |using                       |info and embedded using
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/20513] [4.0/4.1 Regression] ICE when compiling with debug info and embedded using
  2005-03-17  7:18 [Bug debug/20513] New: ICE when compiling with debug info and embedded using lenz at cs dot wisc dot edu
  2005-03-17  7:26 ` [Bug c++/20513] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-03-17  7:27 ` pinskia at gcc dot gnu dot org
  2005-03-23 10:54 ` nathan at gcc dot gnu dot org
  2005-03-23 16:46 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-17  7:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-17 07:27 -------
Related to PR 15736.

-- 


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


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

* [Bug c++/20513] [4.0/4.1 Regression] ICE when compiling with debug info and embedded using
  2005-03-17  7:18 [Bug debug/20513] New: ICE when compiling with debug info and embedded using lenz at cs dot wisc dot edu
  2005-03-17  7:26 ` [Bug c++/20513] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-03-17  7:27 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 10:54 ` nathan at gcc dot gnu dot org
  2005-03-23 16:46 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-23 10:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-03-17 07:26:12         |2005-03-23 10:54:44
               date|                            |


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


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

* [Bug c++/20513] [4.0/4.1 Regression] ICE when compiling with debug info and embedded using
  2005-03-17  7:18 [Bug debug/20513] New: ICE when compiling with debug info and embedded using lenz at cs dot wisc dot edu
                   ` (2 preceding siblings ...)
  2005-03-23 10:54 ` nathan at gcc dot gnu dot org
@ 2005-03-23 16:46 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 16:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-23 16:46 -------
Woops this is a dup of bug 19406.  I had some how missed that for some reason.

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

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


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


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

end of thread, other threads:[~2005-03-23 16:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17  7:18 [Bug debug/20513] New: ICE when compiling with debug info and embedded using lenz at cs dot wisc dot edu
2005-03-17  7:26 ` [Bug c++/20513] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-17  7:27 ` pinskia at gcc dot gnu dot org
2005-03-23 10:54 ` nathan at gcc dot gnu dot org
2005-03-23 16:46 ` pinskia at gcc dot gnu dot org

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