This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa, RFC] CFG transparent RTL expansion
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Andrew MacLeod <amacleod at redhat dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, Jan Hubicka <hubicka at ucw dot cz>,gcc mailing list <gcc at gcc dot gnu dot org>,gcc-patches <gcc-patches at gcc dot gnu dot org>,Richard Henderson <rth at redhat dot com>,Diego Novillo <dnovillo at redhat dot com>, stuart at apple dot com,dalej at apple dot com
- Date: Thu, 22 Jan 2004 16:52:24 +0100
- Subject: Re: [tree-ssa, RFC] CFG transparent RTL expansion
- References: <20031219004441.GD6211@kam.mff.cuni.cz> <1071801428.21456.162.camel@p4> <20031219121356.GG6211@kam.mff.cuni.cz> <1071853205.21456.367.camel@p4> <20031231204744.GA491@atrey.karlin.mff.cuni.cz> <20040120183224.GG21361@atrey.karlin.mff.cuni.cz> <1074700677.14945.2487.camel@p4> <20040121175843.GF31813@kam.mff.cuni.cz> <1074783567.17269.3786.camel@p4>
> I beleive they should work fine, but you are inadvertanly creating a
> useless stmt annotation every time modify_stmt() is called within
> bsi_replace, or a routine like that. Presumably mudflap or anything
> between SSA and RTL will manipulate stmts using those routines which
> currently call modify_stmt()... At least I think :-)
I guess I will work this out.
> > >
> > > - If we don't destroy the CFG, does this mean we are not going to put
> > > the explicit GOTOs back in for fallthru edges which are not immediately
> > > followed by their target label? Again, a gnawing uncertainty about
> >
> > This is technical detail. It seems to me useless to produce it just
> > before expansion, but basically we can go any way.
> > I think with first version I will shoot for keeping the goto like they
> > are now and we can consider removing/not removing it later.
>
> Yeah, I *expect* that it will become unneccesary to put the GOTOs back
> in, but you are probably right to leave it as is for now.
Yes, I will try to do small steps and describe why I am doing it. It
would be helpful if you can check the patches and tell me what do you
think about them.
Honza
>
> Andrew