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
PR c++/37276
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
webizer.c
blob
f5c03e20cd8f9381f9762bbb0fd41a68845b615b
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
[
2
] ;
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
}