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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 04:55:29 -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 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