This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Re-run of loop pass
- To: m dot hayes at elec dot canterbury dot ac dot nz (Michael Hayes)
- Subject: Re: Re-run of loop pass
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Thu, 5 Nov 1998 01:02:20 +0000 (GMT)
- Cc: amylaar at cygnus dot co dot uk, m dot hayes at elec dot canterbury dot ac dot nz, toon at moene dot indiv dot nluug dot nl, rth at cygnus dot com, law at cygnus dot com, egcs at cygnus dot com
> On a 2's complement machine, start is UINT_MAX, start + 5 is 4
> due to unsigned arithmetic, i is assigned -1, and j is assigned 0.
> The test fails immediately since an unsigned compare is performed
> and (unsigned int) -1 is not less than 4. f() thus returns 0.
So what prevents yout patched compiler from unrolling he test case?