This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mainline/tree-profiling] CFG transparend finish_eh_generation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]