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
/
pr96698.c
blob
1d141c1dfff78e3391a4f41efe82ba7ff93f7d41
1
/* { dg-do compile } */
2
3
void
test
(
int
a
,
int
*
i
)
4
{
5
for
(;
a
<
5
; ++
a
)
6
{
7
int
b
=
0
;
8
int
c
=
0
;
9
for
(;
b
!= -
11
;
b
--)
10
for
(
int
d
=
0
;
d
==
0
;
d
++)
11
{
12
*
i
+=
c
&
a
;
13
c
=
b
;
14
}
15
}
16
}
17
18
/* We should be able to vectorize the inner cycle. */
19
/* { dg-final { scan-tree-dump "OUTER LOOP VECTORIZED" "vect" { target vect_int } } } */