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
gcc/
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
webizer.c
blob
4f03037c500b45f077965d827e1d025d63071b33
1
/* { dg-do run } */
2
/* { dg-options "-O3 -funroll-loops" } */
3
typedef
struct
rowbox
{
4
int
startx
;
5
int
endx
;
6
int
endx1
;
7
int
startx2
;
8
int
ypos
;
9
int
desiredL
;
10
}
ROWBOX
;
11
ROWBOX rowArray1
[
3
] ;
12
ROWBOX
*
rowArray
=
rowArray1
;
13
14
int
numRows
=
2
;
15
16
int
row
=
1
;
17
int
block
=
0
;
18
double
ckt_size_factor
;
19
20
__attribute__
((
noinline
))
21
configure2
()
22
{
23
block
=
0
;
24
for
(
row
=
1
;
row
<=
numRows
;
row
++ ) {
25
block
++ ;
26
if
(
rowArray
[
row
].
endx1
>
0
) {
27
block
++ ;
28
}
29
}
30
}
31
32
main
()
33
{
34
configure2
();
35
__builtin_exit
(
0
);
36
}