This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] gsi_iterator rework
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>,Diego Novillo <dnovillo at redhat dot com>
- Date: 02 Dec 2002 11:38:41 -0500
- Subject: Re: [tree-ssa] gsi_iterator rework
- References: <F6ADB848-0612-11D7-957E-000393575BCC@dberlin.org>
On Mon, 2002-12-02 at 11:27, Daniel Berlin wrote:
> > The next step is to fix latch nodes so they actually have an
> > empty_stmt_node in the tree, then we should be able to have a
> > gsi_insert_after/before routine available. This shouldn't be much work
> > now.
> >
> >
> > * tree-ssa-pre.c (finalize_1): Use gsi_end_bb, gsi_stmt can be NULL.
> Don't bother doing this, its in #if 0'd code, which will be removed
> when we can insert in latch blocks.
> In fact, i'll go remove it now, it was just there to remind me how much
> of a pain in the ass it was.
> :)
I was just scanning for gsi_ and making adjustments wherever I found
something :-)
I plan to have generalized insert routines in the next couple of days,
problably wednesday looking at my current schedule :-)...
Andrew