This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/9867: ICE in gen_subprogram_die at dwarf2out.c:9512

>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
>Originator:     bradley-kw-gnu dot e2d0b7 at bradley dot lcs dot mit dot edu
>Release:        gcc-3.0.4
IRIX 6.5 07121148 IP27 mips
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) {
    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:> for instructions.

Cut out foo.i and run the compiler as shown above.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]