------- Comment #2 from pinskia at gcc dot gnu dot org  2005-10-11 14:48 -------
Confirmed, reduced testcase:
float weight[10];
void lsp_weight_quant(float *x, char *cdbk)
{
   int i,j;
   float dist;
   int best_id=0;
   for (i=0;i<16;i++)
   {
      for (j=0;j<10;j++)
         dist=dist+weight[j];
      if (dist<0)
         best_id=i;
   }
   x[j] = cdbk[best_id*10+j];
}

------
but this is just a latent bug as the above also ICEs in 4.0.0.
Related to PR 23820.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org
  BugsThisDependsOn|                            |23820
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-11 14:48:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24309

Reply via email to