This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/9867: ICE in gen_subprogram_die at dwarf2out.c:9512
- From: bradley-kw-gnu dot e2d0b7 at bradley dot lcs dot mit dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 26 Feb 2003 18:12:14 -0000
- Subject: other/9867: ICE in gen_subprogram_die at dwarf2out.c:9512
- Reply-to: bradley-kw-gnu dot e2d0b7 at bradley dot lcs dot mit dot edu
>Number: 9867
>Category: other
>Synopsis: ICE in gen_subprogram_die at dwarf2out.c:9512
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 26 18:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: bradley-kw-gnu dot e2d0b7 at bradley dot lcs dot mit dot edu
>Release: gcc-3.0.4
>Organization:
>Environment:
IRIX 6.5 07121148 IP27 mips
>Description:
I get an Internal compiler error in gen_subprogram_die at dwarf2out.c:9512
Here is the file:
---- foo.i ----
extern void foo(void);
int test_abort_aux(int d) {
void catch(void) {
}
if (d == 0) {
foo();
return 0;
}
}
---- end of foo.i ----
Here is the compiler output:
gcc --verbose foo.i -S -O2 -g
Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/specs
Configured with: ../configure --prefix=/usr/freeware --enable-version-specific-runtime-libs --disable-shared --enable-threads --enable-haifa
Thread model: single
gcc version 3.0.4
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/cc1 -fpreprocessed foo.i -quiet -dumpbase foo.i -g -O2 -version -o foo.s
GNU CPP version 3.0.4 (cpplib) [AL 1.1, MM 40] SGI running IRIX 6.x
GNU C version 3.0.4 (mips-sgi-irix6.5)
compiled by GNU C version 3.0.4.
foo.i: In function `test_abort_aux':
foo.i:9: Internal compiler error in gen_subprogram_die, at dwarf2out.c:9512
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Cut out foo.i and run the compiler as shown above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: