This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/19001] [3.4/4.0 Regression] Loops with power of two step and variable bounds not unrolled


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]