Debian Codegraph @

gcc/testsuite/gcc.dg/vect/no-tree-pre-pr45241.c

raw
1 /* PR tree-optimization/45241 */
2 /* { dg-do compile } */
3
4 int
5 foo (short x)
6 {
7 short i, y;
8 int sum;
9
10 for (i = 0; i < x; i++)
11 y = x * i;
12
13 for (i = x; i > 0; i--)
14 sum += y;
15
16 return sum;
17 }
18