This is the mail archive of the gcc-patches@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: 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
--


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