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


> 
> Even if it wasn't faster, it would still be a win in terms of making it 
> easier to write optimizations and analyses.

I forgot to mention two things.

1. It also makes your CFG regular.

2. In general, from an optimization standpoint, it's always better 
to make things explicit rather than implicit.

All goto/break/continue-elimination does is turn the implicit flow into an 
explicit one.



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