1 /* { dg-do compile } */ 2 /* { dg-options "-Ofast -fno-tree-dominator-opts" } */ 3 4 struct locale_time_t 5 { 6 const char *abday[7]; 7 const unsigned int *wabday[7]; 8 }; 9 10 static const unsigned int empty_wstr[1] = { 0 }; 11 12 void time_read(struct locale_time_t * time)13time_read (struct locale_time_t *time) 14 { 15 int cnt; 16 17 for (cnt=0; cnt < 7; cnt++) 18 { 19 time->abday[cnt] = ""; 20 time->wabday[cnt] = empty_wstr; 21 } 22 } 23