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
2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr67447.c
blob
85a0e147e4a6da6d76da0d72579abdad8960c748
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -march=haswell" } */
3
4
struct
_GPart
{
5
int
*
g
;
6
};
7
static int
b
,
d
,
e
;
8
int
*
c
, *
f
, *
g
;
9
int
a
;
10
11
int
fn2
(
int
,
int
);
12
13
int
fn1
(
int
p1
) {
14
int
h
=
fn2
(
p1
, (
int
)(
long
)&
e
);
15
for
(;
d
<
e
;
d
++)
16
if
(
f
[
d
] !=
a
)
17
h
+=
g
?
g
[
f
[
d
]] :
1
;
18
return
h
;
19
}
20
21
int
main
() {
22
struct
_GPart
*
i
;
23
for
(;
b
< (
int
)(
long
)(
i
->
g
);
b
++)
24
c
[
b
] =
fn1
((
int
)(
long
)
i
->
g
);
25
}