This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12923] New: ICE in gen_subprogram_die, at dwarf2out.c:10607 with -O1 -g
- From: "v dot haisman at sh dot cvut dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2003 08:29:19 -0000
- Subject: [Bug c/12923] New: ICE in gen_subprogram_die, at dwarf2out.c:10607 with -O1 -g
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12923
Summary: ICE in gen_subprogram_die, at dwarf2out.c:10607 with -O1
-g
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: v dot haisman at sh dot cvut dot cz
CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
cvut dot cz
GCC build triplet: i386-unknown-freebsd4.9
GCC host triplet: i386-unknown-freebsd4.9
GCC target triplet: i386-unknown-freebsd4.9
The attached test case gives me ICE in gen_subprogram_die, at dwarf2out.c:10607
with -O1 -g options. Other combinations of -g and -O? option work fine.
matrix.c: In function `trimatrix_init':
matrix.c:27: internal compiler error: in gen_subprogram_die, at dwarf2out.c:10607
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The GCC is:
logout ~/tmp>gcc -v
Reading specs from /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/specs
Configured with: ../srcdir/configure --prefix=/home/4/wilx --enable-shared
--enable-languages=c,c++ --enable-threads=posix
--enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=i686
--with-arch=i686 --disable-sjlj-exceptions --disable-shared-libgcc --with-gc=zone
Thread model: posix
gcc version 3.4 20031105 (experimental)