This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32283] [4.3/4.4 regression] Missed induction variable optimization
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2008 16:46:13 -0000
- Subject: [Bug rtl-optimization/32283] [4.3/4.4 regression] Missed induction variable optimization
- References: <bug-32283-14263@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #20 from janis at gcc dot gnu dot org 2008-10-30 16:46 -------
To add to comment #18, after r128272 GCC for powerpc-linux no longer generates
bdnz for:
int reg_values[1024];
void
clear_table (unsigned int n)
{
unsigned int i;
for (i = 0; i < n; i++)
reg_values[i] = 0;
}
The patch referenced in comment #17, applied to current 4.3 branch, generates
that instruction again for this test but causes gfortran to segfault often.
As for comment #19, known to work for which particular testcase?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283