tree profilng merge 3 - find_sub_basic_blocks fixes wrt computed gotos

Richard Henderson rth@redhat.com
Mon Jun 7 00:28:00 GMT 2004


On Fri, May 28, 2004 at 12:45:44PM +0200, Jan Hubicka wrote:
> this patch fix find_many_sub_basic_blocks so it update CFG correctly when new
> computed goto is inserted.

Well, sort of.  It adds to label_value_list, but doesn't update 
existing computed gotos to jump to the new labels.  It means that
if you were to rebuild the CFG from scratch afterward you wouldn't
get the same answer.

What's the test case for this?  I would have expected all labels
visible to computed jumps to already exist at the tree level,
and thus we could derive the rtl list from that.



r~



More information about the Gcc-patches mailing list