annotate gcc/testsuite/gcc.dg/lto/pr60449_0.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-lto-do link } */
kono
parents:
diff changeset
2 /* { dg-require-effective-target gettimeofday } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 extern int printf (const char *__restrict __format, ...);
kono
parents:
diff changeset
5 typedef long int __time_t;
kono
parents:
diff changeset
6 typedef long int __suseconds_t;
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 struct timeval
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 __time_t tv_sec;
kono
parents:
diff changeset
11 __suseconds_t tv_usec;
kono
parents:
diff changeset
12 };
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 struct timezone
kono
parents:
diff changeset
15 {
kono
parents:
diff changeset
16 int tz_minuteswest;
kono
parents:
diff changeset
17 int tz_dsttime;
kono
parents:
diff changeset
18 };
kono
parents:
diff changeset
19 typedef struct timezone *__restrict __timezone_ptr_t;
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz);
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 int bar (void)
kono
parents:
diff changeset
24 {
kono
parents:
diff changeset
25 struct timeval tv;
kono
parents:
diff changeset
26 struct timezone tz;
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 gettimeofday (&tv, &tz);
kono
parents:
diff changeset
29 printf ("This is from bar %i\n", tz.tz_dsttime);
kono
parents:
diff changeset
30 return 5;
kono
parents:
diff changeset
31 }