comparison gcc/testsuite/gcc.dg/pr82809.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
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
13 time_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 }