This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/19001] [3.4/4.0 Regression] Loops with power of two step and variable bounds not unrolled
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2004 19:20:04 -0000
- Subject: [Bug rtl-optimization/19001] [3.4/4.0 Regression] Loops with power of two step and variable bounds not unrolled
- References: <20041215002551.19001.rakdver@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From chris at bubblescope dot net 2004-12-18 19:20 -------
I thought I'd post this here rather than as a new bug.. I will do if there isn't
a reply within a week or so.
A very similar regression is:
int check(int a,int b, char* c)
{
for(;a!=b;a+=4)
if(c[a]==1) return a;
return a;
}
ie where "a<b" is replaced with "a!=b". Is there a simple / similar fix for this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19001