1 /* PR tree-optimization/33680 */
2 /* { dg-require-effective-target alloca } */
5 f (int dim
, int *b
, int *c
)
7 int newcentroid
[3][dim
];
8 int *a
= newcentroid
[2];
10 __builtin_memcpy (newcentroid
, c
, sizeof (newcentroid
));
11 for (i
= 0; i
< dim
; i
++)
12 dist
+= (a
[i
] - b
[i
]) * (a
[i
] - b
[i
]);