[Bug target/70542] [6 Regression] Wrong code with -O3 -mavx2.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 08:59:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70542
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-04-05
Ever confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r233068.
Slightly cleaned up testcase:
int a[113], d[113];
short b[113], c[113], e[113];
int
main ()
{
int i;
long j;
unsigned long long g = 0;
for (i = 0; i < 113; ++i)
{
a[i] = -636544305;
b[i] = -31804;
}
for (j = 1; j <= 112; ++j)
{
c[j] = b[j] >> ((a[j] & 1587842570) - 1510214139);
if (a[j])
d[j] = j;
e[j] = 7 << ((2312631697 - b[j]) - 2312663500);
}
for (i = 0; i < 111; ++i)
g = e[i] + g;
if (g != 1540)
__builtin_abort ();
return 0;
}
More information about the Gcc-bugs
mailing list