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: [ast-optimizer-branch] Goto/Break/Continue/Switch elimination


On Thu, May 02, 2002 at 01:48:38PM +0100, Sebastian Pop wrote:
> Hi,
> 
> The following patch and newfiles.tar.gz implements a goto, break and continue 
> elimination pass on SIMPLE trees. It uses the double linked statement chain 
> (it is really much more simpler to implement transformations on trees when we 
> can access the previous statement, and the code becomes much more readable).

Maybe I'm missing the point, but why is this a desirable optimization?
It looks like it massively increases code size, and I don't see why
the result would be any faster.

zw


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