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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a short testcase:
typedef __SIZE_TYPE__ size_t;

void f(int mlen, unsigned char *dst, size_t d_len, unsigned char *cpy)
{
  unsigned char *d_end = dst + d_len;

  while (--mlen >= 0 && dst < d_end)
    *dst++ = *cpy++;
}

Reply via email to