http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Another testcase: short a[1024], b[1024]; void foo (void) { int i; for (i = 0; i < 1024; i++) { short c = (char) a[i] + 5; long long d = (long long) b[i] + 12; a[i] = c + d; } }