This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/6387: [3.2/3.3 regression] -fpic -g1 combination give ICE in dwarf2out
- 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, nobody at gcc dot gnu dot org, tmwg-gcc at inxservices dot com
- Date: 12 Dec 2002 10:26:45 -0000
- Subject: Re: debug/6387: [3.2/3.3 regression] -fpic -g1 combination give ICE in dwarf2out
- 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, nobody at gcc dot gnu dot org, tmwg-gcc at inxservices dot com, gcc-gnats at gcc dot gnu dot org
Old Synopsis: -fpic -g1 combination give ICE in dwarf2out
New Synopsis: [3.2/3.3 regression] -fpic -g1 combination give ICE in dwarf2out
State-Changed-From-To: feedback->analyzed
State-Changed-By: reichelt
State-Changed-When: Thu Dec 12 02:26:43 2002
State-Changed-Why:
Confirmed.
A smaller testcase is the following:
------------------------snip here---------------------------
void foo();
void bar()
{
struct A { A() { foo(); } } a;
}
------------------------snip here---------------------------
Compiling this with "g++ -fPIC -g1 -c" on i686-pc-linux-gnu I get an ICE:
PR6387.cc:5: internal compiler error: in dwarf2out_finish, at dwarf2out.c:12611
Please submit a full bug report, [etc.]
The problem appeared in gcc 3.1 and affects the 3.2-branch and mainline.
The code compiles fine with gcc 2.95.x and 3.0.x.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6387