[tree-ssa] Insert on edge fix

Diego Novillo dnovillo@redhat.com
Fri Jun 20 02:06:00 GMT 2003


On Thu, 2003-06-19 at 20:28, Jeff Sturm wrote:

> (gdb) frame
> #1  0x08397ec7 in bsi_insert_after (curr_bsi=0xbffff558, t=0x402bee8c,
> mode=BSI_NEW_STMT) at ../../gcc/tree-cfg.c:3485
> 3485	        abort ();
> 
> (gdb) p *curr_bb
> $16 = {head = 0x0, end = 0x0, head_tree_p = 0x0, end_tree_p = 0x0,
>   pred = 0x85eb4c4, succ = 0x85eab24, local_set = 0x0, cond_local_set = 0x0,
>   global_live_at_start = 0x0, global_live_at_end = 0x0, aux = 0x85e8988,
>   index = 92, prev_bb = 0x85e655c, next_bb = 0x85e64b4, loop_depth = 0,
>   loop_father = 0x0, count = 0, frequency = 0, flags = 2}
> 

That looks odd.  Could you set a breakpoint in create_bb() for
n_basic_blocks == 92?  Is it being created by tree_split_edge?  That
block ought to have something in head_tree_p and end_tree_p.


Diego.



More information about the Gcc-patches mailing list