------- Comment #6 from pinskia at gcc dot gnu dot org  2006-02-11 17:56 -------
The C testcase (compile with -O2 -fno-tree-pre -fno-tree-loop-im):
void putShort (int, int);

int t2;
void f(int t1)
{
  int clutOffset = 52 + 256 * 3 * 2;
  for (int x = 0; x < 16; x++)
    for (int y = 0; y < 16; y++)
      for (int z = 0; z < 16; z++)
        {
          int offset = clutOffset + z * 6 + y * 16 * 6 + x * 16 * 16 * 6;
          double xf = ((double) x) / ((double) 16 - 1.0);
          double tt = xf;
          putShort(offset, tt);
        } 
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-11 17:56:13
               date|                            |


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

Reply via email to