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: [tree-ssa] cfg_remove_useless_stmts


In message <20031113105609.GB18227@atrey.karlin.mff.cuni.cz>, Zdenek Dvorak wri
tes:
 >> I see... no direct ideas how to deal it more generally then.
 >> > > THis can be executed only for COND_EXPRs where both arms get nullified,
 >> > > right? This should be cared of by cfg_cleanup unless something is wrong
 >> > > with it.
 >> > 
 >> > Yes it could; no it is not, since cfg_cleanup is not run after un-ssa.
 >> 
 >> It would be nice to unify these two somehow.  I will try to look into it
 >> later.  Some of the issues should be dealt with if we get rid of GOTOs
 >> completely that should not take that long anyway.
 >
 >indeed; with the patch to do it I am currently testing all the goto
 >removal stuff goes away.
At first glance, I think the only part of this goto removal code that is
still useful is removing unconditional gotos to the next statement.  Which
is something one would think the cfg cleanup code ought to be able to do :-)


jeffk


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