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)) configure2()21configure2() 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 main()32main() 33 { 34 configure2(); 35 __builtin_exit (0); 36 } 37