This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8014: Internal compiler error in `output_die'
- From: reichelt at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, milgramjh at nswccd dot navy dot mil, nobody at gcc dot gnu dot org
- Date: 28 Oct 2002 22:31:10 -0000
- Subject: Re: c++/8014: Internal compiler error in `output_die'
- Reply-to: reichelt at igpm dot rwth-aachen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, milgramjh at nswccd dot navy dot mil, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Internal compiler error in `output_die'
State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Mon Oct 28 14:31:09 2002
State-Changed-Why:
Fixed in 3.0.x and more recent versions.
BTW, the bug in gcc 2.95.3 can be triggered with the
following small code snippet:
-------------------------snip here---------------------
struct A
{
~A() { }
};
struct B
{
static A& foo ()
{
static A a;
return a;
}
};
void bar ()
{
B::foo ();
}
-------------------------snip here---------------------
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8014