[PATCH] Jump bypassing and improved cprop (take 2)

law@redhat.com law@redhat.com
Tue Jun 4 06:31:00 GMT 2002


In message <200206032018.g53KI0q4012147@hiauly1.hia.nrc.ca>, "John David Anglin
" writes:
 > By trial and error, I have determined that the following bootstrap failure
 > under hppa-linux is a result of this patch:
 > 
 >         * rtl.h (CC0_P): New.
 > 	* gcse.c (cprop_jump): Use it with single_set.  Tweak dump text.
 > 	(cprop_insn): Allow any mode register; use CC0_P.  CSE out single_set.
 > 	(bypass_block): Save old dest block for dump text.
 > 	(bypass_conditional_jumps): Allow any mode register; use CC0_P.
 > 	Allow only true SET insns, not single_set.
 > 
 > ./xgcc -B./ -B/home/dave/opt/gnu/hppa-linux/bin/ -isystem /home/dave/opt/gnu
 > /hppa-linux/include -isystem /home/dave/opt/gnu/hppa-linux/sys-include -O2 -
 > DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -i
 > system ./include  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/
 > config -I../../gcc/gcc/../include  -g0 -finhibit-size-directive -fno-inline-
 > functions -fno-exceptions -fno-zero-initialized-in-bss  \
 >    -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN \
 >   -o crtbegin.o
 > ../../gcc/gcc/crtstuff.c: In function `__do_global_dtors_aux':
 > ../../gcc/gcc/crtstuff.c:282: internal error: Segmentation fault
 > 
 > The segmentation fault is here:
 > 
 > bypass_conditional_jumps () at ../../gcc/gcc/gcse.c:4544
 > 4544                    if (GET_CODE (PATTERN (setcc)) != SET)
 > (gdb) p setcc
 > $1 = (struct rtx_def *) 0x0
I believe Roger Sayle fixed this yesterday.
jeff



More information about the Gcc-patches mailing list