| 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 |
} |