This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [mainline/tree-profiling] CFG transparend finish_eh_generation
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jan Hubicka <jh at suse dot cz>, gcc at gcc dot gnu dot org
- Date: Fri, 2 Sep 2005 19:06:33 +0930
- Subject: Re: [mainline/tree-profiling] CFG transparend finish_eh_generation
- References: <20040222230041.GD2638@kam.mff.cuni.cz> <20050902085808.GA19951@bubble.grove.modra.org>
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