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
fortran/trans-openmp.cc: Use the correct member in gfc_omp_namelist [PR118745]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr37928.c
blob
3c33f3a46372feafb8485ebe0a89c454428a484e
1
/* { dg-options "-O3" } */
2
3
int
get_state
(
int
size
,
int
*
node
,
int
*
hash
)
4
{
5
int
i
=
0
;
6
while
(
hash
[
i
])
7
{
8
if
(
node
[
hash
[
i
]] ==
0
)
9
return
hash
[
i
]-
1
;
10
i
++;
11
if
(
i
==
5
)
12
i
=
0
;
13
}
14
return
-
1
;
15
}
16
17
void
foo
(
int
);
18
19
int
gate1
(
int
size
,
int
*
node
,
int
*
hash
)
20
{
21
int
i
,
j
;
22
int
add_size
=
0
;
23
for
(
i
=
0
;
i
<
size
;
i
++)
24
{
25
j
=
get_state
(
size
,
node
,
hash
);
26
if
(
j
== -
1
)
27
{
28
add_size
++;
29
}
30
}
31
32
foo
(
size
+
add_size
);
33
}