This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: more robust purge_dead_edges
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: more robust purge_dead_edges
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 24 Jul 2001 14:49:12 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010724234511.C18763@atrey.karlin.mff.cuni.cz>
On Tue, Jul 24, 2001 at 11:45:11PM +0200, Jan Hubicka wrote:
> + note = find_reg_note (insn, REG_BR_PROB, NULL);
> + /* We should have prediction on each conditional jump. */
> + if (!note)
> + abort ();
This is wrong -- these notes aren't added until at least
flow1. This function is used by gcse.
r~