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

2005-09-02 Thread Alan Modra
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

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

2005-09-02 Thread Alan Modra
Jan, the following change of yours is responsible for PR21460. Can you remember why you wanted to look for NOTE_INSN_BASIC_BLOCK? 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) == N