This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on hppa-unknown-linux-gnu, trunk
- From: Josef Zlomek <zlomj9am at artax dot karlin dot mff dot cuni dot cz>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 5 Mar 2003 23:00:29 +0100
- Subject: Re: Bootstrap failure on hppa-unknown-linux-gnu, trunk
- References: <200302111937.h1BJbBuD005421@hiauly1.hia.nrc.ca>
> > stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/hppa-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 -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include
> > ../../gcc/gcc/bb-reorder.c -o bb-reorder.o
> > ../../gcc/gcc/bb-reorder.c: In function `find_traces':
> > ../../gcc/gcc/bb-reorder.c:219: error: unrecognizable insn:
> > (insn 776 775 777 0x40568f60 (set (reg:DI 70 %fr23 [252])
> > (mult:DI (zero_extend:DI (reg:SI 69 %fr22R [246]))
> > (reg:DI 74 %fr25))) -1 (nil)
> > (expr_list:REG_UNUSED (reg:SI 71 %fr23R)
> > (expr_list:REG_DEAD (reg:DI 74 %fr25)
> > (nil))))
> > ../../gcc/gcc/bb-reorder.c:219: internal compiler error: in num_delay_slots, at insn-attrtab.c:4085
>
> I have determined that it is the addition of this patch that results in
> the above ICE:
Maybe it is a similar problem in machine descriptions as alpha and sh did
have (http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01295.html). But maybe I'm wrong.
The bb-reorder itself is pretty high level, it is a probably first use
of code duplication functions which went to mainline.
Anyway, I apologize for the breakage.
Josef
> 2003-02-10 Josef Zlomek <zlomekj at suse dot cz>
>
> * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
> * bb-reorder.c (make_reorder_chain): Deleted.
> (make_reorder_chain_1): Deleted.
> (find_traces): New function.
> (rotate_loop): New function.
> (mark_bb_visited): New function.
> (find_traces_1_round): New function.
> (copy_bb): New function.
> (bb_to_key): New function.
> (better_edge_p): New function.
> (connect_traces): New function.
> (copy_bb_p): New function.
> (get_uncond_jump_length): New function.
> (reorder_basic_blocks): Use new functions (Software Trace Cache).
> * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
> boundaries.