http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-02
09:48:17 UTC ---
Another testcase:
signed char a[1024], b[1024];
void
baz (void)
{
int i, s, t;
for (i = 0; i < 1024; i++)
{ s = a[i]; t = b[i]; s += t + 0x12345600; a[i] = s; }
}
The addition of constant we should be able to optimize away completely, but we
don't.
