dwarfout.c ICE in bootstrap

Bruce Korb bkorb@sco.COM
Mon Sep 11 13:37:00 GMT 2000


> OpenServer is now failing to bootstrap.  The failure is reproducable on
> Linux, but it takes non-default flags to light up dwarf-1.  Here's the
> OpenServer failure:
> 
> stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-sco3.2v5.0.5/bin/ -c  \
>  -DIN_GCC    -O2  -g -W -Wall -Wtraditional -Wwrite-strings \
>  -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long \
>  -DHAVE_CONFIG_H    -I. -I../../egcs/gcc -I../../egcs/gcc/config \
> -I../../egcs/gcc/../include ../../egcs/gcc/stmt.c
> ../../egcs/gcc/stmt.c: In function `expand_nl_goto_receiver':
> ../../egcs/gcc/stmt.c:3473: Internal compiler error in ?, at dwarfout.c:5305
> Please submit a full bug report.
> 
> 
> This has shown up sometime in the last ten days or so.  (I've been
> travelling and the bootstraps have failed for other reasons, so I can't
> pinpoint a precise date from the logs.)

I can pinpoint it much earlier:

  http://gcc.gnu.org/ml/gcc-bugs/2000-06/msg00676.html

Since that time, I have *NEVER* been able to bootstrap gcc.

> On a RH6.2/IA32 box, I am able trigger this failure as well.   The key
> flags seem to be the interesection of '-gdwarf' and '-O2'.   This command
> will do it.
> 
>   stage1/xgcc -Bstage1/ -c  -DIN_GCC -O2 -gdwarf -I. -I/play/egcs/gcc \
>   -I/play/egcs/gcc/config -I/play/egcs/gcc/../include /play/egcs/gcc/stmt.c


More information about the Gcc-bugs mailing list