repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
no-tree-pre-pr45241.c
blob
6535fd7e598a318b7051445513de7b2307a20590
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