This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Your change to alloc-pool.c
- From: Roger Sayle <roger at eyesopen dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Arnaud Charlet <charlet at ACT-Europe dot FR>, <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2004 06:06:48 -0700 (MST)
- Subject: Re: Your change to alloc-pool.c
On Wed, 28 Jan 2004, Jan Hubicka wrote:
> Note that this is also bad code generation bug for 3.4, so we should
> come with safe fix first too. The code simply emits instruction on the
> edge already removed from CFG so it is really not going to work.
Thanks. Your patch is Ok for mainline and 3.4, on the understanding
that you'll implement the basic block fix/improvement for mainline.
This might also fix the limitation/restriction that we can't redirect
an edge to the exit block, for example.
You might want to document somewhere that redirect_edge_and_branch*
might delete the edge that's being redirected.
Roger
--