On Fri, Sep 02, 2005 at 06:28:08PM +0930, Alan Modra wrote:
> I propose using this instead:
> 
>   for (fn_begin = get_insns (); ; fn_begin = NEXT_INSN (fn_begin))
>     if (NOTE_P (fn_begin)
>       && NOTE_LINE_NUMBER (fn_begin) == NOTE_INSN_FUNCTION_BEG)
>       break;
> 
>   insert_insn_on_edge (seq, single_succ_edge (BLOCK_FOR_INSN (fn_begin)));

Oops, no, that doesn't work.  I'll need to dig a bit to see what's
happening.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

Reply via email to