[Bug rtl-optimization/32283] [4.3/4.4 regression] Missed induction variable optimization

janis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 30 16:48:00 GMT 2008



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



More information about the Gcc-bugs mailing list