Fwd: [rtl-opt] bootstrap failure on darwin-pcc

Andrew Pinski pinskia@physics.uc.edu
Sun May 18 01:55:00 GMT 2003


stage1/xgcc -Bstage1/ 
-B/Volumes/UFS_Partition/pinskia/rtlopt/powerpc-apple-darwin6.6/bin/ -c 
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -fno-common -Werror -DHAVE_CONFIG_H -I. -Icp 
-I/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc 
-I/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/cp 
-I/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/config 
-I/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/../include 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/cp/decl.c -o 
cp/decl.o -save-temps
In file included from 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/cp/decl.c:14544:
gtype-cp.h: In function `gt_ggc_mx_lang_tree_node':
gtype-cp.h:352: internal compiler error: in copy_rtx, at rtl.c:385
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x591558 
"/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/rtl.c", line=385, 
function=0x591594 "copy_rtx") at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/diagnostic.c:1367
#1  0x003a4b04 in copy_rtx (orig=0x1095540) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/rtl.c:385
#2  0x003a4a10 in copy_rtx (orig=0x244c8a0) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/rtl.c:359
#3  0x00472c24 in substitute_into_expr (expr=0x1e67040, 
interesting_reg=0x670f880, substitution=0x6716130, flags=0) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/algebraic.c:1022
#4  0x00472d8c in substitute_into_expr (expr=0x1e67bc0, 
interesting_reg=0x670f880, substitution=0x6716130, flags=1) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/algebraic.c:1042
#5  0x004d5bc0 in simulate_set (reg=0x1e67040, set=0x1e67bd0, 
data=0x6716130) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/loop-iv.c:481
#6  0x003aad90 in note_stores (x=0x1e67bd0, fun=0x4d5a88 
<simulate_set>, data=0x6716130) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/rtlanal.c:1756
#7  0x004d68fc in compute_reg_values (bb=0x671d948, insn=0x1d35840) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/loop-iv.c:722
#8  0x004d6a40 in compute_register_values (including_top=0) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/loop-iv.c:751
#9  0x004dadfc in analyse_induction_variables () at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/loop-iv.c:1723
#10 0x003f2b80 in rest_of_compilation (decl=0x1747850) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/toplev.c:3271
#11 0x0003aac8 in c_expand_body_1 (fndecl=0x1747850, nested_p=0) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/c-decl.c:6592
#12 0x0003b264 in c_expand_body (fndecl=0x1747850) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/c-decl.c:6676
#13 0x0003a4f8 in finish_function (nested=0, can_defer_p=1) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/c-decl.c:6487
#14 0x000039c8 in yyparse () at c-parse.y:406
#15 0x000888d8 in c_common_parse_file (set_yydebug=0) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/c-opts.c:1629
#16 0x003f0464 in compile_file () at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/toplev.c:2264
#17 0x003f8f00 in do_compile () at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/toplev.c:5780
#18 0x003f8fa0 in toplev_main (argc=39, argv=0xbffff8cc) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/toplev.c:5815
#19 0x000ba5c0 in main (argc=39, argv=0xbffff8cc) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/main.c:37
#20 0x00001974 in _start (argc=39, argv=0xbffff8cc, envp=0xbffff96c) at 
/SourceCache/Csu/Csu-45/crt.c:267
#21 0x000017f4 in start ()

(gdb) up -1
#2  0x003a4a10 in copy_rtx (orig=0x244c8a0) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/rtl.c:359
359                 XEXP (copy, i) = copy_rtx (XEXP (orig, i));
(gdb) p debug_rtx(orig)
(plus:SI (initial_value:SI (reg/v:SI 491 [ i0 ]))
     (??? bad code 2125
))
(gdb) up -1
#1  0x003a4b04 in copy_rtx (orig=0x1095540) at 
/Volumes/UFS_Partition/pinskia/src/gccrtlopt/src/gcc/rtl.c:385
385               abort ();
(gdb) p debug_rtx(orig)
(??? bad code 2125
)


Thanks,
Andrew Pinski
Attached the preprocessed file:  Will to anyone who wants it.



More information about the Gcc mailing list