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 pinskia at gcc dot gnu dot org  2004-12-15 04:55 -------
Confirmed as a regression from 3.3.2, this happens in libstdc++ as mentioned other places.
And I also check that 3.3.2 did not unroll a loop with non power of two step aka:
int check(int a,int b, char *c)
{
for(;a<b;a+=5)
  if(c[a]==1) return a;
return a;
}
is not unrolled in 3.3.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to work|                            |3.3.2
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-15 04:55:28
               date|                            |
            Summary|Loops with power of two step|[3.4/4.0 Regression] Loops
                   |and variable bounds not     |with power of two step and
                   |unrolled                    |variable bounds not unrolled
   Target Milestone|---                         |3.4.4


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]