https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64110
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Simplified testcase (-O3 -march=core-avx2):
int foo (void);
int a;
short *b;
void
bar (short x)
{
while (a--)
{
int i, j = foo ();
for (i = 0; i < j; ++i)
*b++ = x;
}
}
