LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr85286.c
blob320ed6b7e79cb717a13592d90e31e485ef52bd17
1 /* PR tree-optimization/45241 */
2 /* { dg-do compile } */
3 /* { dg-additional-options "--param scev-max-expr-complexity=0" } */
5 int
6 foo (short x)
8 short i, y;
9 int sum;
11 for (i = 0; i < x; i++)
12 y = x * i;
14 for (i = x; i > 0; i--)
15 sum += y;
17 return sum;