This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop optimiser upgrade (Was RFC: BB duplication code)
- To: m dot hayes at elec dot canterbury dot ac dot nz (Michael Hayes)
- Subject: Re: Loop optimiser upgrade (Was RFC: BB duplication code)
- From: Joern Rennecke <amylaar at onetel dot net dot uk>
- Date: Sat, 22 Sep 2001 05:03:48 +0100 (BST)
- Cc: amylaar at redhat dot com (Joern Rennecke), m dot hayes at elec dot canterbury dot ac dot nz (Michael Hayes), jh at suse dot cz (Jan Hubicka), gcc at gcc dot gnu dot org
> My question is how do we tell this from a do-while loop with a goto
> around it?
You don't - and it's immaterial for the purpose of spotting loops that are
executed at least once if entered. That's a property all do-wile loops
have, by definition.