This is the mail archive of the gcc@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]
Other format: [Raw text]

powerpc-linux bootstrap failure


Mainline bootstrap for powerpc-unknown-linux-gnu broke with this patch:

2003-03-15  Michael Hayes  <m dot hayes at elec dot canterbury dot ac dot nz>

	PR optimization/9387
	* function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
	for conditional returns.

The following change doesn't affect the bootstrap failure:

2003-03-17  Michael Hayes  <m dot hayes at elec dot canterbury dot ac dot nz>

	* function.c (thread_prologue_and_epilogue_insns): Set delete_unused
	argument to 0 for redirect_jump.

The messages when a C-only bootstrap dies are:

stage1/xgcc -Bstage1/ -B/home/janis/gnu/tools/native32-mline/powerpc-linux/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common -Werror   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-mline/gcc -I../../gcc-mline/gcc/. -I../../gcc-mline/gcc/config -I../../gcc-mline/gcc/../include ../../gcc-mline/gcc/gensupport.c -o gensupport.o
../../gcc-mline/gcc/gensupport.c: In function `shift_output_template':
../../gcc-mline/gcc/gensupport.c:706: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

This is the stack trace for the seg fault; forest_node isn't expected to
be NULL:

#0  0x10574be8 in remove_all_occurrences (forest=0x1084e5f0, forest_node=0x0)
    at ../../gcc-mline/gcc/et-forest.c:346
#1  0x10575238 in et_forest_remove_node (forest=0x1084e5f0, node=0x0)
    at ../../gcc-mline/gcc/et-forest.c:542
#2  0x105110d4 in delete_from_dominance_info (dom=0x108339c8, bb=0x1084e2a0)
    at ../../gcc-mline/gcc/dominance.c:802
#3  0x1053ddf0 in find_if_case_1 (test_bb=0x1084e520, then_edge=0x10849f18,
    else_edge=0x10849ef0) at ../../gcc-mline/gcc/ifcvt.c:2735
#4  0x1053ce8c in find_if_header (test_bb=0x1084e520, pass=1)
    at ../../gcc-mline/gcc/ifcvt.c:2173
#5  0x1053ee20 in if_convert (x_life_data_ok=1)
    at ../../gcc-mline/gcc/ifcvt.c:3147
#6  0x10433d60 in rest_of_compilation (decl=0x403af500)
    at ../../gcc-mline/gcc/toplev.c:3571
#7  0x10038724 in c_expand_body_1 (fndecl=0x403af500, nested_p=0)
    at ../../gcc-mline/gcc/c-decl.c:6592
#8  0x10038ed0 in c_expand_body (fndecl=0x403af500)
    at ../../gcc-mline/gcc/c-decl.c:6676
#9  0x100381a8 in finish_function (nested=0, can_defer_p=1)
    at ../../gcc-mline/gcc/c-decl.c:6487
#10 0x1000272c in yyparse () at c-parse.y:406
#11 0x10085b1c in c_common_parse_file (set_yydebug=0)
    at ../../gcc-mline/gcc/c-opts.c:1629
#12 0x10430c80 in compile_file () at ../../gcc-mline/gcc/toplev.c:2191
#13 0x104387fc in do_compile () at ../../gcc-mline/gcc/toplev.c:5539
#14 0x1043888c in toplev_main (argc=48, argv=0xffffe494)
    at ../../gcc-mline/gcc/toplev.c:5574
#15 0x100b853c in main (argc=48, argv=0xffffe494)
    at ../../gcc-mline/gcc/main.c:37
#16 0x0fed918c in __libc_start_main () from /lib/libc.so.6

Janis


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