[Bug tree-optimization/59523] [4.9 Regression] r205856 caused internal compiler error: verify_ssa failed
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 17 15:51:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59523
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
/* PR tree-optimization/59523 */
/* { dg-do compile } */
/* { dg-options "-Ofast" } */
/* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */
int *
foo (int a, int *b, int *c)
{
int i, *r = __builtin_alloca (a * sizeof (int));
__builtin_memset (r, 0, a * sizeof (int));
for (i = 0; i < 64; i++)
c[i] += b[i];
for (i = 0; i < a; i++)
if (r[i] == 0)
r[i] = 1;
return r;
}
More information about the Gcc-bugs
mailing list