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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr111860-3.c
blob
e205d2c3c9feafcce7025d5480033ce506357082
1
/* { dg-do compile } */
2
/* { dg-additional-options "-O -fno-tree-sink -ftree-vectorize" } */
3
int
buffer_ctrl_ctx_0
,
buffer_ctrl_p1
,
buffer_ctrl_cmd
;
4
5
int
6
buffer_ctrl
(
long
ret
,
int
i
)
7
{
8
switch
(
buffer_ctrl_cmd
)
9
{
10
case
1
:
11
buffer_ctrl_ctx_0
=
0
;
12
for
(;
i
;
i
++)
13
if
(
buffer_ctrl_p1
)
14
ret
++;
15
}
16
return
ret
;
17
}