public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* debug/9039: ICE, anonymous union, gen_decl_die, dwarf2out.c:11974
@ 2002-12-22 16:46 mec
0 siblings, 0 replies; only message in thread
From: mec @ 2002-12-22 16:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 9039
>Category: debug
>Synopsis: ICE, anonymous union, gen_decl_die, dwarf2out.c:11974
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sun Dec 22 16:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: mec@shout.net
>Release: gcc HEAD%20021221
>Organization:
>Environment:
target = native
host = i686-pc-linux-gnu (red hat linux 8)
gcc = gcc HEAD%20021221
binutils = 2.13.1
gformat = dwarf-2
I checked out gcc HEAD from :pserver:anoncvs:@subversions.gnu.org:/cvsroot/gcc. My checkout started at 2002-12-21T16:26:28Z and ended at 2002-12-21T16:30:31Z. Unfortunately, I'm not running ntp, so those nice timestamps are actually 5-10 minutes slow.
>Description:
g++ gives an ICE on a small function with an anonymous union when generateing dwarf-2 debugging information.
The code is:
int foo()
{
union
{
int z;
unsigned int w;
};
w = 0;
return 0;
}
>How-To-Repeat:
Compiler invocation line:
gcc -v -S -gdwarf-2 z1.cc > z1.out 2>&1 z1.out
The file attachment has the exact output from "z1.out" along with a copy of the source code and essentiallly all the information from this form.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="REPORT.txt"
Content-Disposition: inline; filename="REPORT.txt"
anon-union-ice
Michael Chastain, <mec@shout.net>
2002-12-22
Synopsis:
ICE, anonymous union, gen_decl_die, dwarf2out.c: 11974
Configuration:
target = native
host = i686-pc-linux-gnu (red hat linux 8)
gcc = gcc HEAD%20021221
binutils = 2.13.1
gformat = dwarf-2
I downloaded gcc HEAD with a cvs checkout command which started
at 2002-12-21T16:26:28Z and ended at 2002-12-21T16:30:31Z.
(Unfortunately, I'm not running ntp, and my clock is about five
minutes fast right now, which fuzzes up my nice time markers).
Compiler invocation line:
gcc -v -S -gdwarf-2 z1.cc > z1.out 2>&1
Compiler output:
Reading specs from /berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with:
Thread model: posix
gcc version 3.4 20021221 (experimental)
/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/lib/gcc-lib/i686-pc-linux-gnu/3.4/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE z1.cc -D__GNUG__=3 -quiet -dumpbase z1.cc -auxbase z1 -gdwarf-2 -version -o z1.s
GNU C++ version 3.4 20021221 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.2.1.
ignoring nonexistent directory "/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/include/c++/3.4
/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/include/c++/3.4/i686-pc-linux-gnu
/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/include/c++/3.4/backward
/usr/local/include
/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/include
/berman/fsf/_today_/berman/native/install/gcc/gcc-HEAD-binutils-2.13.1/lib/gcc-lib/i686-pc-linux-gnu/3.4/include
/usr/include
End of search list.
z1.cc: In function `int foo()':
z1.cc:11: internal compiler error: in gen_decl_die, at dwarf2out.c:11974
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Contents of z1.cc:
int foo()
{
union
{
int z;
unsigned int w;
};
w = 0;
return 0;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-23 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-22 16:46 debug/9039: ICE, anonymous union, gen_decl_die, dwarf2out.c:11974 mec
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).