------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-11 20:30 -------
Nice reduced testcase:
void SexiALI_Convert(void *vdest, void *vsrc, unsigned int frames)
{
 unsigned int x;
 short *src = vsrc;
 unsigned char *dest = vdest;
 for(x=0;x<frames;x++)
 {
  int tmp;
  tmp = *src;
  src++;
  tmp += *src;
  src++;
  *dest++ = tmp;
   *dest++ = tmp;
 }
}

--- CUT ---
This is caused by the vectorizer.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dorit at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-11 20:30:49
               date|                            |


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

Reply via email to