This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/24304] New: Test suite file 20010209-1.c with -g1 gives gen_subprogram_die, at dwarf2out.c:10857
- From: "flash at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 02:30:13 -0000
- Subject: [Bug debug/24304] New: Test suite file 20010209-1.c with -g1 gives gen_subprogram_die, at dwarf2out.c:10857
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the test suite file 20010209-1.c with -g1 gives "internal compiler
error: in gen_subprogram_die, at dwarf2out.c:10857". This sounds a lot like
bug 16035, but the line number is different (10824 with my build), and that bug
requires -g -O, whereas this one requires -g1, and does not require
optimization.
Here's the session:
58> /opt/gcc343-chk-y/bin/gcc -g1 -c -v ../c/error/GPL/3-3/20010209-1.c
Reading specs from
/home/opt/gcc343-chk-y/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: /opt/src/GCC/gcc-3.4.3/configure --with-comment=Check=yes
build of non-cross 3.4.3 by Flash Sheridan 9/12/05 with distcc
--enable-version-specific-runtime-libs --enable-checking=yes
--prefix=/opt/gcc343-chk-y --enable-languages=c,c++
Thread model: posix
gcc version 3.4.3
/home/opt/gcc343-chk-y/bin/../libexec/gcc/i686-pc-linux-gnu/3.4.3/cc1 -quiet
-v -iprefix /home/opt/gcc343-chk-y/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/
../c/error/GPL/3-3/20010209-1.c -quiet -dumpbase 20010209-1.c -mtune=pentiumpro
-auxbase 20010209-1 -g1 -version -o /tmp/ccYCdkBa.s
ignoring nonexistent directory
"/home/opt/gcc343-chk-y/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory
"/opt/gcc343-chk-y/lib/gcc/i686-pc-linux-gnu/3.4.3/include"
ignoring nonexistent directory
"/opt/gcc343-chk-y/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/opt/gcc343-chk-y/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/include
/usr/local/include
/opt/gcc343-chk-y/include
/usr/include
End of search list.
GNU C version 3.4.3 (i686-pc-linux-gnu)
compiled by GNU C version 3.3.5 (Debian 1:3.3.5-8ubuntu2).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
../c/error/GPL/3-3/20010209-1.c: In function `foo':
../c/error/GPL/3-3/20010209-1.c:13: internal compiler error: in
gen_subprogram_die, at dwarf2out.c:10857
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
PalmSource bug 110511.
--
Summary: Test suite file 20010209-1.c with -g1 gives
gen_subprogram_die, at dwarf2out.c:10857
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: flash at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24304