This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/16035] [3.4/3.5 Regression] [non-unit-at-a-time] internal compiler error: in gen_subprogram_die, at dwarf2out.c:10798
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2004 22:50:21 -0000
- Subject: [Bug debug/16035] [3.4/3.5 Regression] [non-unit-at-a-time] internal compiler error: in gen_subprogram_die, at dwarf2out.c:10798
- References: <20040617144643.16035.Ralf.Wildenhues@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-06-18 22:50 -------
Here's a testcase that triggers the bug in 3.4.0 but not in mainline:
=======================================
namespace N
{
void foo1();
inline int foo2(int i)
{
if (i) foo1();
}
struct A
{
A();
~A() { foo2(0); }
};
struct B : A {};
struct C : B {};
struct D : C {};
struct E
{
D d1, d2;
};
inline E bar1()
{
E bar2 (const E&);
E e;
return bar2(E());
}
E e=bar1();
}
=======================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-18 22:50:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16035