This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -funsafe-loop-optimizations
- From: Steven Bosscher <stevenb at suse dot de>
- To: gcc at gcc dot gnu dot org
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>, Giovanni Bajo <giovannibajo at libero dot it>
- Date: Sat, 1 Jan 2005 23:01:01 +0100
- Subject: Re: -funsafe-loop-optimizations
- Organization: SUSE Labs
- References: <20041231211409.GA22814@atrey.karlin.mff.cuni.cz> <035f01c4f044$623cf160$4e422597@bagio> <20050101211056.GA27013@atrey.karlin.mff.cuni.cz>
Is it maybe possible in some cases to look at how the induction
variable is used (e.g. as an array index and we know that it is
undefined to have an index outside the array domain), and decide
on whether the loop must be finite or not based on that?
Gr.
Steven