1 /* { dg-do run } */ 2 /* { dg-options "-ftree-loop-distribution" } */ 3 4 extern void abort(void); 5 6 struct epic_private 7 { 8 unsigned int *rx_ring; 9 unsigned int rx_skbuff[5]; 10 }; 11 12 int main(void)13main (void) 14 { 15 struct epic_private ep; 16 unsigned int rx_ring[5]; 17 int i; 18 19 ep.rx_skbuff[0] = 5; 20 21 ep.rx_ring = rx_ring; 22 23 for (i = 0; i < 5; i++) 24 { 25 ep.rx_ring[i] = i; 26 ep.rx_skbuff[i] = 0; 27 } 28 29 if (ep.rx_skbuff[0] != 0) 30 abort (); 31 32 return 0; 33 } 34 35