Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
no-tree-pre-pr45241.c
blob: 6535fd7e598a318b7051445513de7b2307a20590 [
file
] [
log
] [
blame
]
/* PR tree-optimization/45241 */
/* { dg-do compile } */
int
foo
(
short
x
)
{
short
i
,
y
;
int
sum
;
for
(
i
=
0
;
i
<
x
;
i
++)
y
=
x
*
i
;
for
(
i
=
x
;
i
>
0
;
i
--)
sum
+=
y
;
return
sum
;
}