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
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr68766.c
blob
a0d549b946e6d7d6d10732eb1fb825ae4ce38407
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -fdbg-cnt=vect_loop:1" } */
3
/* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */
4
/* { dg-prune-output "dbg_cnt 'vect_loop' set to 1" } */
5
6
int
a
,
b
,
g
,
h
;
7
int
c
[
58
];
8
int
d
[
58
];
9
int
fn1
() {
10
for
(;
g
;
g
++)
11
if
(
a
)
12
c
[
g
] =
b
;
13
}
14
15
int
fn2
() {
16
fn1
();
17
for
(;
h
;
h
++)
18
d
[
h
] =
0
;
19
}