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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
webizer.c
blob
982fbca4201a0c085a2a62fbf076257ddda3ce53
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
int
22
configure2
()
23
{
24
block
=
0
;
25
for
(
row
=
1
;
row
<=
numRows
;
row
++ ) {
26
block
++ ;
27
if
(
rowArray
[
row
].
endx1
>
0
) {
28
block
++ ;
29
}
30
}
31
}
32
33
int
34
main
()
35
{
36
configure2
();
37
__builtin_exit
(
0
);
38
}