This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop optimization
- To: law at cygnus dot com
- Subject: Re: Loop optimization
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Sun, 10 Jan 1999 12:22:08 +0000 (GMT)
- Cc: m dot hayes at elec dot canterbury dot ac dot nz, egcs at cygnus dot com
> Jeffrey A Law writes:
>
> > Further down the road, the loop optimizer should be moving towards natural
> > loop analysis to determine what loops to optimize instead of relying on hints
> > provided by the front-ends.
If you mean detecting loops that have been built with gotos, that
defeats code that on putpose avoids explicit loop constructs because
it 'knows' that the loop is executed close to a single time (or even
close to zero times) on average.