* cse.c (try_back_substitute_reg): Move any REG_ARGS_SIZE note when
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / regs-arg-size.c
blob0ca0b9f034b2e7e177c3fafb09f719d58a77bf41
1 int foo;
2 typedef long unsigned int size_t;
3 typedef short unsigned int wchar_t;
4 struct tm
6 int tm_mday;
7 int tm_mon;
8 int tm_year;
9 };
10 size_t
11 __strftime (wchar_t * s, size_t maxsize, const wchar_t * format, const struct tm *tim_p)
13 size_t count = 0;
14 int len = 0;
15 size_t i, ctloclen;
16 unsigned long width;
18 if (foo)
21 wchar_t *fmt = L"%s%.*d";
22 len = swprintf (&s[count], maxsize, fmt, "-", width, 0);
24 if ((count) >= maxsize)
25 return 0;
27 else
29 len =
30 swprintf (&s[count], maxsize - count, L"%.2d/%.2d/%.2d", 42, 99, 0);
31 if ((count) >= maxsize)
32 return 0;