Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr85286.c
blob: 320ed6b7e79cb717a13592d90e31e485ef52bd17 [
file
] [
log
] [
blame
]
/* PR tree-optimization/45241 */
/* { dg-do compile } */
/* { dg-additional-options "--param scev-max-expr-complexity=0" } */
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
;
}