[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

paulo@matos-sorge.com gcc-bugzilla@gcc.gnu.org
Thu Feb 6 11:25:00 GMT 2014


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

--- Comment #14 from Paulo J. Matos <paulo@matos-sorge.com> ---
Something like this which looks much simpler hits the same problem:
extern int arr[];

void
foo32 (int limit)
{
  short i;
  for (i = 0; (int)i < limit; i++)
    arr[i] += 1;
}



More information about the Gcc-bugs mailing list