This is the mail archive of the gcc-bugs@gcc.gnu.org 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]

Re: CVS i386-linux native build failure



Looks like the abort is happening in this code:

if (optimize && INSN_DELETED_P (after))
  abort();

because:

(xxgdb) call debug_rtx(after)

(note/v 51 2 4 [bb 0] NOTE_INSN_BASIC_BLOCK)

Is this note a deleted insn?

Toshi

> 
> version: CVS 
>    host: i386-linux (Red Hat Linux 6.1)
>  target: native
> 
> "../egcs/configure ; make" fails when tryint to build __muldi3:
> 
> make[2]: Entering directory `/home/tm/egcs-build/gcc'
> mkdir libgcc
> /home/tm/egcs-build/gcc/xgcc -B/home/tm/egcs-build/gcc/ 
> -B/usr/local/i686-pc-linux-gnu/bin/ 
> -I/usr/local/i686-pc-linux-gnu/include -O2   -DIN_GCC    -g -O2 -isystem 
> ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. 
> -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include  
> -DL_muldi3 -c ../../egcs/gcc/libgcc2.c -o libgcc/./_muldi3.o
> ../../egcs/gcc/libgcc2.c: In function `__muldi3':
> ../../egcs/gcc/libgcc2.c:204: Internal compiler error in 
> `add_insn_after', at emit-rtl.c:2514
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [libgcc/./_muldi3.o] Error 1
> make[2]: Leaving directory `/home/tm/egcs-build/gcc'
> make[1]: *** [libgcc.a] Error 2
> make[1]: Leaving directory `/home/tm/egcs-build/gcc'
> make: *** [all-gcc] Error 2
> bash$ 
> 
> Here is the stack backtrace:
> 
> (xxgdb) bt
> #0  add_insn_after (insn=0x4023d2c0, after=0x4023bdc0) at 
> ../../egcs/gcc/emit-rtl.c:2514
> #1  0x80a717e in emit_insn_after (pattern=0x40216d18, after=0x4023bdc0) 
> at ../../egcs/gcc/emit-rtl.c:2978
> #2  0x80a690d in try_split (pat=0x40236240, trial=0x40239660, last=1) at 
> ../../egcs/gcc/emit-rtl.c:2366
> #3  0x813edf7 in split_all_insns (upd_life=0) at ../../egcs/gcc/recog.c:2633
> #4  0x804c299 in rest_of_compilation (decl=0x4022fb00) at 
> ../../egcs/gcc/toplev.c:3318
> #5  0x81e7211 in finish_function (nested=0) at ../../egcs/gcc/c-decl.c:6501
> #6  0x81d9697 in yyparse () at c-parse.y:345
> #7  0x804b107 in compile_file (name=0x4011a230 "muldi3.i") at 
> ../../egcs/gcc/toplev.c:2259
> #8  0x804ddf2 in main (argc=5, argv=0xbffffcc4) at 
> ../../egcs/gcc/toplev.c:4630
> (xxgdb) 
> 
> Toshi
> 
> 
> 


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