# 1 "../../../coreutils-8.30/lib/parse-datetime.c" # 1 "/usr/include/stdc-predef.h" 1 # 43 "/usr/include/stdc-predef.h" # 51 "/usr/include/stdc-predef.h" # 1 "../../../coreutils-8.30/lib/parse-datetime.c" 2 # 1 "parse-datetime.y" # 1 "./lib/config.h" 1 # 2735 "./lib/config.h" # 3337 "./lib/config.h" # 3374 "./lib/config.h" # 3482 "./lib/config.h" # 3507 "./lib/config.h" # 3677 "./lib/config.h" # 35 "parse-datetime.y" 2 # 1 "../../../coreutils-8.30/lib/parse-datetime.h" 1 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdbool.h" 1 3 # 51 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdbool.h" 3 # 20 "../../../coreutils-8.30/lib/parse-datetime.h" 2 # 1 "./lib/time.h" 1 # 21 "./lib/time.h" 3 # 38 "./lib/time.h" # 1 "/usr/include/time.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 143 "/usr/include/features.h" 3 # 163 "/usr/include/features.h" 3 # 174 "/usr/include/features.h" 3 # 188 "/usr/include/features.h" 3 # 212 "/usr/include/features.h" 3 # 223 "/usr/include/features.h" 3 # 254 "/usr/include/features.h" 3 # 267 "/usr/include/features.h" 3 # 283 "/usr/include/features.h" 3 # 296 "/usr/include/features.h" 3 # 322 "/usr/include/features.h" 3 # 354 "/usr/include/features.h" 3 # 389 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 48 "/usr/include/sys/cdefs.h" 3 # 72 "/usr/include/sys/cdefs.h" 3 # 82 "/usr/include/sys/cdefs.h" 3 # 115 "/usr/include/sys/cdefs.h" 3 # 132 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 183 "/usr/include/sys/cdefs.h" 3 # 216 "/usr/include/sys/cdefs.h" 3 # 243 "/usr/include/sys/cdefs.h" 3 # 261 "/usr/include/sys/cdefs.h" 3 # 284 "/usr/include/sys/cdefs.h" 3 # 307 "/usr/include/sys/cdefs.h" 3 # 319 "/usr/include/sys/cdefs.h" 3 # 349 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 399 "/usr/include/sys/cdefs.h" 3 # 409 "/usr/include/sys/cdefs.h" 3 # 418 "/usr/include/sys/cdefs.h" 3 # 426 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 10 "/usr/include/bits/wordsize.h" 3 # 428 "/usr/include/sys/cdefs.h" 2 3 # 1 "/usr/include/bits/long-double.h" 1 3 # 429 "/usr/include/sys/cdefs.h" 2 3 # 461 "/usr/include/sys/cdefs.h" 3 # 474 "/usr/include/sys/cdefs.h" 3 # 491 "/usr/include/sys/cdefs.h" 3 # 425 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-32.h" 1 3 # 8 "/usr/include/gnu/stubs.h" 2 3 # 449 "/usr/include/features.h" 2 3 # 26 "/usr/include/time.h" 2 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 typedef int ptrdiff_t; # 47 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 typedef unsigned size_t; typedef long int wchar_t; # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 typedef struct { long long __clang_max_align_nonce1 __attribute__((__aligned__(__alignof__(long long)))); long double __clang_max_align_nonce2 __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 30 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 10 "/usr/include/bits/wordsize.h" 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; __extension__ typedef long long int __intmax_t; __extension__ typedef unsigned long long int __uintmax_t; # 113 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 75 "/usr/include/bits/typesizes.h" 3 # 90 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; typedef int __sig_atomic_t; # 27 "/usr/include/bits/time.h" 2 3 # 43 "/usr/include/bits/time.h" 3 # 1 "/usr/include/bits/timex.h" 1 3 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 23 "/usr/include/bits/timex.h" 2 3 struct timex { unsigned int modes; __syscall_slong_t offset; __syscall_slong_t freq; __syscall_slong_t maxerror; __syscall_slong_t esterror; int status; __syscall_slong_t constant; __syscall_slong_t precision; __syscall_slong_t tolerance; struct timeval time; __syscall_slong_t tick; __syscall_slong_t ppsfreq; __syscall_slong_t jitter; int shift; __syscall_slong_t stabil; __syscall_slong_t jitcnt; __syscall_slong_t calcnt; __syscall_slong_t errcnt; __syscall_slong_t stbcnt; int tai; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; }; # 70 "/usr/include/bits/timex.h" 3 # 83 "/usr/include/bits/timex.h" 3 # 74 "/usr/include/bits/time.h" 2 3 extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ , __leaf__)); # 34 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/clock_t.h" 1 3 typedef __clock_t clock_t; # 38 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/time_t.h" 1 3 typedef __time_t time_t; # 39 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/struct_tm.h" 1 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; # 40 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 43 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 typedef __clockid_t clockid_t; # 47 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/timer_t.h" 1 3 typedef __timer_t timer_t; # 48 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types/struct_itimerspec.h" 1 3 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; # 49 "/usr/include/time.h" 2 3 struct sigevent; typedef __pid_t pid_t; # 1 "/usr/include/bits/types/locale_t.h" 1 3 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; }; typedef struct __locale_struct *__locale_t; # 23 "/usr/include/bits/types/locale_t.h" 2 3 typedef __locale_t locale_t; # 61 "/usr/include/time.h" 2 3 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern char *strptime_l (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timespec_get (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int getdate_err; extern struct tm *getdate (const char *__string); extern int getdate_r (const char *__restrict __string, struct tm *__restrict __resbufp); # 42 "./lib/time.h" 2 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 45 "./lib/time.h" 2 # 74 "./lib/time.h" # 194 "./lib/time.h" # 219 "./lib/time.h" # 249 "./lib/time.h" # 274 "./lib/time.h" # 305 "./lib/time.h" # 333 "./lib/time.h" # 361 "./lib/time.h" # 391 "./lib/time.h" # 471 "./lib/time.h" # 492 "./lib/time.h" # 502 "./lib/time.h" # 537 "./lib/time.h" struct __time_t_must_be_integral { unsigned int __floating_time_t_unsupported : (time_t) 1; }; # 569 "./lib/time.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 588 "./lib/time.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 602 "./lib/time.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 627 "./lib/time.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 649 "./lib/time.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 674 "./lib/time.h" # 689 "./lib/time.h" # 705 "./lib/time.h" # 721 "./lib/time.h" # 740 "./lib/time.h" typedef struct tm_zone *timezone_t; extern timezone_t tzalloc (char const *__name); extern int _gl_cxxalias_dummy; extern void tzfree (timezone_t __tz); extern int _gl_cxxalias_dummy; extern struct tm * localtime_rz (timezone_t __tz, time_t const *__restrict __timer, struct tm *__restrict __result) __attribute__ ((__nonnull__ (2, 3))); extern int _gl_cxxalias_dummy; extern time_t mktime_z (timezone_t __tz, struct tm *__restrict __result) __attribute__ ((__nonnull__ (2))); extern int _gl_cxxalias_dummy; # 773 "./lib/time.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 801 "./lib/time.h" # 21 "../../../coreutils-8.30/lib/parse-datetime.h" 2 _Bool parse_datetime (struct timespec *, char const *, struct timespec const *); _Bool parse_datetime2 (struct timespec *, char const *, struct timespec const *, unsigned int flags, timezone_t, char const *); # 37 "parse-datetime.y" 2 # 1 "../../../coreutils-8.30/lib/intprops.h" 1 # 1 "./lib/limits.h" 1 # 23 "./lib/limits.h" 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/limits.h" 1 3 # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h" 1 3 # 192 "/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h" 3 # 1 "/usr/include/limits.h" 1 3 # 1 "/usr/include/bits/libc-header-start.h" 1 3 # 44 "/usr/include/bits/libc-header-start.h" 3 # 53 "/usr/include/bits/libc-header-start.h" 3 # 62 "/usr/include/bits/libc-header-start.h" 3 # 27 "/usr/include/limits.h" 2 3 # 114 "/usr/include/limits.h" 3 # 141 "/usr/include/limits.h" 3 # 180 "/usr/include/limits.h" 3 # 1 "/usr/include/bits/posix1_lim.h" 1 3 # 1 "/usr/include/bits/local_lim.h" 1 3 # 36 "/usr/include/bits/local_lim.h" 3 # 1 "/usr/include/linux/limits.h" 1 3 # 18 "/usr/include/linux/limits.h" 3 # 39 "/usr/include/bits/local_lim.h" 2 3 # 161 "/usr/include/bits/posix1_lim.h" 2 3 # 184 "/usr/include/limits.h" 2 3 # 1 "/usr/include/bits/posix2_lim.h" 1 3 # 86 "/usr/include/bits/posix2_lim.h" 3 # 188 "/usr/include/limits.h" 2 3 # 1 "/usr/include/bits/xopen_lim.h" 1 3 # 1 "/usr/include/bits/uio_lim.h" 1 3 # 65 "/usr/include/bits/xopen_lim.h" 2 3 # 123 "/usr/include/bits/xopen_lim.h" 3 # 147 "/usr/include/bits/xopen_lim.h" 3 # 192 "/usr/include/limits.h" 2 3 # 195 "/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h" 2 3 # 47 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/limits.h" 2 3 # 81 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/limits.h" 3 # 111 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/limits.h" 3 # 28 "./lib/limits.h" 2 # 42 "./lib/limits.h" # 56 "./lib/limits.h" # 73 "./lib/limits.h" # 24 "../../../coreutils-8.30/lib/intprops.h" 2 # 72 "../../../coreutils-8.30/lib/intprops.h" # 93 "../../../coreutils-8.30/lib/intprops.h" # 195 "../../../coreutils-8.30/lib/intprops.h" # 265 "../../../coreutils-8.30/lib/intprops.h" # 277 "../../../coreutils-8.30/lib/intprops.h" # 336 "../../../coreutils-8.30/lib/intprops.h" # 354 "../../../coreutils-8.30/lib/intprops.h" # 417 "../../../coreutils-8.30/lib/intprops.h" # 432 "../../../coreutils-8.30/lib/intprops.h" # 39 "parse-datetime.y" 2 # 1 "../../../coreutils-8.30/lib/timespec.h" 1 # 1 "./lib/time.h" 1 # 21 "./lib/time.h" 3 # 23 "../../../coreutils-8.30/lib/timespec.h" 2 # 1 "../../../coreutils-8.30/lib/verify.h" 1 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 50 "../../../coreutils-8.30/lib/verify.h" 2 # 198 "../../../coreutils-8.30/lib/verify.h" # 213 "../../../coreutils-8.30/lib/verify.h" # 223 "../../../coreutils-8.30/lib/verify.h" # 257 "../../../coreutils-8.30/lib/verify.h" # 281 "../../../coreutils-8.30/lib/verify.h" # 37 "../../../coreutils-8.30/lib/timespec.h" 2 enum { TIMESPEC_RESOLUTION = 1000000000 }; enum { LOG10_TIMESPEC_RESOLUTION = 9 }; inline struct timespec make_timespec (time_t s, long int ns) { struct timespec r; r.tv_sec = s; r.tv_nsec = ns; return r; } inline int __attribute__ ((__pure__)) timespec_cmp (struct timespec a, struct timespec b) { if (a.tv_sec < b.tv_sec) return -1; if (a.tv_sec > b.tv_sec) return 1; ((-1 <= a . tv_nsec && a . tv_nsec <= 2 * TIMESPEC_RESOLUTION) ? (void) 0 : __builtin_unreachable ()); ((-1 <= b . tv_nsec && b . tv_nsec <= 2 * TIMESPEC_RESOLUTION) ? (void) 0 : __builtin_unreachable ()); return a.tv_nsec - b.tv_nsec; } inline int __attribute__ ((__pure__)) timespec_sign (struct timespec a) { return a.tv_sec < 0 ? -1 : a.tv_sec || a.tv_nsec; } struct timespec timespec_add (struct timespec, struct timespec) __attribute__ ((__const__)); struct timespec timespec_sub (struct timespec, struct timespec) __attribute__ ((__const__)); struct timespec dtotimespec (double) __attribute__ ((__const__)); inline double timespectod (struct timespec a) { return a.tv_sec + a.tv_nsec / 1e9; } void gettime (struct timespec *); int settime (struct timespec const *); # 40 "parse-datetime.y" 2 # 1 "../../../coreutils-8.30/lib/strftime.h" 1 # 1 "./lib/time.h" 1 # 21 "./lib/time.h" 3 # 19 "../../../coreutils-8.30/lib/strftime.h" 2 size_t nstrftime (char *, size_t, char const *, struct tm const *, timezone_t __tz, int __ns); # 42 "parse-datetime.y" 2 # 1 "./lib/inttypes.h" 1 # 26 "./lib/inttypes.h" 3 # 1 "/usr/include/inttypes.h" 1 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdint.h" 1 3 # 74 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdint.h" 3 # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h" 1 3 # 1 "/usr/include/stdint.h" 1 3 # 1 "/usr/include/bits/libc-header-start.h" 1 3 # 44 "/usr/include/bits/libc-header-start.h" 3 # 53 "/usr/include/bits/libc-header-start.h" 3 # 62 "/usr/include/bits/libc-header-start.h" 3 # 27 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wchar.h" 1 3 # 40 "/usr/include/bits/wchar.h" 3 # 48 "/usr/include/bits/wchar.h" 3 # 29 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 10 "/usr/include/bits/wordsize.h" 3 # 30 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/stdint-intn.h" 1 3 typedef __int8_t int8_t; typedef __int16_t int16_t; typedef __int32_t int32_t; typedef __int64_t int64_t; # 35 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/stdint-uintn.h" 1 3 typedef __uint8_t uint8_t; typedef __uint16_t uint16_t; typedef __uint32_t uint32_t; typedef __uint64_t uint64_t; # 38 "/usr/include/stdint.h" 2 3 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 103 "/usr/include/stdint.h" 3 typedef int intptr_t; typedef unsigned int uintptr_t; typedef __intmax_t intmax_t; typedef __uintmax_t uintmax_t; # 122 "/usr/include/stdint.h" 3 # 171 "/usr/include/stdint.h" 3 # 181 "/usr/include/stdint.h" 3 # 192 "/usr/include/stdint.h" 3 # 204 "/usr/include/stdint.h" 3 # 230 "/usr/include/stdint.h" 3 # 245 "/usr/include/stdint.h" 3 # 266 "/usr/include/stdint.h" 3 # 276 "/usr/include/stdint.h" 3 # 285 "/usr/include/stdint.h" 3 # 296 "/usr/include/stdint.h" 3 # 305 "/usr/include/stdint.h" 3 # 314 "/usr/include/stdint.h" 3 # 10 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h" 2 3 # 76 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdint.h" 2 3 # 85 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdint.h" 3 # 28 "/usr/include/inttypes.h" 2 3 typedef long int __gwchar_t; # 42 "/usr/include/inttypes.h" 3 # 50 "/usr/include/inttypes.h" 3 # 157 "/usr/include/inttypes.h" 3 # 166 "/usr/include/inttypes.h" 3 # 278 "/usr/include/inttypes.h" 3 typedef struct { __extension__ long long int quot; __extension__ long long int rem; } imaxdiv_t; extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern intmax_t strtoimax (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t strtoumax (const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, __gwchar_t ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); # 431 "/usr/include/inttypes.h" 3 # 42 "./lib/inttypes.h" 2 # 381 "./lib/inttypes.h" # 409 "./lib/inttypes.h" # 489 "./lib/inttypes.h" # 510 "./lib/inttypes.h" # 520 "./lib/inttypes.h" # 530 "./lib/inttypes.h" # 681 "./lib/inttypes.h" # 782 "./lib/inttypes.h" # 955 "./lib/inttypes.h" # 1004 "./lib/inttypes.h" # 1041 "./lib/inttypes.h" # 1170 "./lib/inttypes.h" # 1255 "./lib/inttypes.h" # 1430 "./lib/inttypes.h" # 1471 "./lib/inttypes.h" # 1502 "./lib/inttypes.h" # 1520 "./lib/inttypes.h" # 1538 "./lib/inttypes.h" # 1554 "./lib/inttypes.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1564 "./lib/inttypes.h" # 1580 "./lib/inttypes.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1590 "./lib/inttypes.h" # 65 "parse-datetime.y" 2 # 1 "../../../coreutils-8.30/lib/c-ctype.h" 1 # 72 "../../../coreutils-8.30/lib/c-ctype.h" # 80 "../../../coreutils-8.30/lib/c-ctype.h" # 115 "../../../coreutils-8.30/lib/c-ctype.h" # 128 "../../../coreutils-8.30/lib/c-ctype.h" # 149 "../../../coreutils-8.30/lib/c-ctype.h" inline _Bool c_isalnum (int c) { switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return 1; default: return 0; } } inline _Bool c_isalpha (int c) { switch (c) { case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return 1; default: return 0; } } inline _Bool c_isascii (int c) { switch (c) { case ' ': case '\a': case '\b': case '\f': case '\n': case '\r': case '\t': case '\v': case '\x00': case '\x01': case '\x02': case '\x03': case '\x04': case '\x05': case '\x06': case '\x0e': case '\x0f': case '\x10': case '\x11': case '\x12': case '\x13': case '\x14': case '\x15': case '\x16': case '\x17': case '\x18': case '\x19': case '\x1a': case '\x1b': case '\x1c': case '\x1d': case '\x1e': case '\x1f': case '\x7f': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case '[': case '\\': case ']': case '^': case '_': case '`': case '{': case '|': case '}': case '~': case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return 1; default: return 0; } } inline _Bool c_isblank (int c) { return c == ' ' || c == '\t'; } inline _Bool c_iscntrl (int c) { switch (c) { case '\a': case '\b': case '\f': case '\n': case '\r': case '\t': case '\v': case '\x00': case '\x01': case '\x02': case '\x03': case '\x04': case '\x05': case '\x06': case '\x0e': case '\x0f': case '\x10': case '\x11': case '\x12': case '\x13': case '\x14': case '\x15': case '\x16': case '\x17': case '\x18': case '\x19': case '\x1a': case '\x1b': case '\x1c': case '\x1d': case '\x1e': case '\x1f': case '\x7f': return 1; default: return 0; } } inline _Bool c_isdigit (int c) { switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': return 1; default: return 0; } } inline _Bool c_isgraph (int c) { switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case '[': case '\\': case ']': case '^': case '_': case '`': case '{': case '|': case '}': case '~': case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return 1; default: return 0; } } inline _Bool c_islower (int c) { switch (c) { case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): return 1; default: return 0; } } inline _Bool c_isprint (int c) { switch (c) { case ' ': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case '[': case '\\': case ']': case '^': case '_': case '`': case '{': case '|': case '}': case '~': case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return 1; default: return 0; } } inline _Bool c_ispunct (int c) { switch (c) { case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case '[': case '\\': case ']': case '^': case '_': case '`': case '{': case '|': case '}': case '~': return 1; default: return 0; } } inline _Bool c_isspace (int c) { switch (c) { case ' ': case '\t': case '\n': case '\v': case '\f': case '\r': return 1; default: return 0; } } inline _Bool c_isupper (int c) { switch (c) { case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return 1; default: return 0; } } inline _Bool c_isxdigit (int c) { switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): return 1; default: return 0; } } inline int c_tolower (int c) { switch (c) { case 'a' + ('A' - 'a'): case 'b' + ('A' - 'a'): case 'c' + ('A' - 'a'): case 'd' + ('A' - 'a'): case 'e' + ('A' - 'a'): case 'f' + ('A' - 'a'): case 'g' + ('A' - 'a'): case 'h' + ('A' - 'a'): case 'i' + ('A' - 'a'): case 'j' + ('A' - 'a'): case 'k' + ('A' - 'a'): case 'l' + ('A' - 'a'): case 'm' + ('A' - 'a'): case 'n' + ('A' - 'a'): case 'o' + ('A' - 'a'): case 'p' + ('A' - 'a'): case 'q' + ('A' - 'a'): case 'r' + ('A' - 'a'): case 's' + ('A' - 'a'): case 't' + ('A' - 'a'): case 'u' + ('A' - 'a'): case 'v' + ('A' - 'a'): case 'w' + ('A' - 'a'): case 'x' + ('A' - 'a'): case 'y' + ('A' - 'a'): case 'z' + ('A' - 'a'): return c - 'A' + 'a'; default: return c; } } inline int c_toupper (int c) { switch (c) { case 'a' + (0): case 'b' + (0): case 'c' + (0): case 'd' + (0): case 'e' + (0): case 'f' + (0): case 'g' + (0): case 'h' + (0): case 'i' + (0): case 'j' + (0): case 'k' + (0): case 'l' + (0): case 'm' + (0): case 'n' + (0): case 'o' + (0): case 'p' + (0): case 'q' + (0): case 'r' + (0): case 's' + (0): case 't' + (0): case 'u' + (0): case 'v' + (0): case 'w' + (0): case 'x' + (0): case 'y' + (0): case 'z' + (0): return c - 'a' + 'A'; default: return c; } } # 66 "parse-datetime.y" 2 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdarg.h" 1 3 # 132 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stdarg.h" 3 typedef __builtin_va_list va_list; typedef __builtin_va_list __gnuc_va_list; # 68 "parse-datetime.y" 2 # 1 "./lib/stdio.h" 1 # 21 "./lib/stdio.h" 3 # 36 "./lib/stdio.h" # 1 "/usr/include/stdio.h" 1 3 # 1 "/usr/include/bits/libc-header-start.h" 1 3 # 44 "/usr/include/bits/libc-header-start.h" 3 # 53 "/usr/include/bits/libc-header-start.h" 3 # 62 "/usr/include/bits/libc-header-start.h" 3 # 28 "/usr/include/stdio.h" 2 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 34 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/bits/types/__FILE.h" 1 3 struct _IO_FILE; typedef struct _IO_FILE __FILE; # 37 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/bits/types/FILE.h" 1 3 struct _IO_FILE; typedef struct _IO_FILE FILE; # 38 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/bits/libio.h" 1 3 # 1 "/usr/include/bits/_G_config.h" 1 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 20 "/usr/include/bits/_G_config.h" 2 3 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 22 "/usr/include/bits/_G_config.h" 2 3 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 48 "/usr/include/bits/_G_config.h" 3 # 36 "/usr/include/bits/libio.h" 2 3 # 50 "/usr/include/bits/libio.h" 3 # 58 "/usr/include/bits/libio.h" 3 # 80 "/usr/include/bits/libio.h" 3 # 89 "/usr/include/bits/libio.h" 3 # 115 "/usr/include/bits/libio.h" 3 # 128 "/usr/include/bits/libio.h" 3 # 147 "/usr/include/bits/libio.h" 3 struct _IO_jump_t; struct _IO_FILE; typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 177 "/usr/include/bits/libio.h" 3 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 244 "/usr/include/bits/libio.h" 3 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 293 "/usr/include/bits/libio.h" 3 __off64_t _offset; # 301 "/usr/include/bits/libio.h" 3 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 331 "/usr/include/bits/libio.h" 3 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 415 "/usr/include/bits/libio.h" 3 # 429 "/usr/include/bits/libio.h" 3 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 458 "/usr/include/bits/libio.h" 3 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 518 "/usr/include/bits/libio.h" 3 # 42 "/usr/include/stdio.h" 2 3 typedef __gnuc_va_list va_list; # 53 "/usr/include/stdio.h" 3 typedef __off64_t off_t; typedef __off64_t off64_t; typedef __ssize_t ssize_t; typedef _G_fpos64_t fpos_t; typedef _G_fpos64_t fpos64_t; # 114 "/usr/include/stdio.h" 3 # 1 "/usr/include/bits/stdio_lim.h" 1 3 # 35 "/usr/include/bits/stdio_lim.h" 3 # 132 "/usr/include/stdio.h" 2 3 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") ; extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); extern int fflush_unlocked (FILE *__stream); extern int fcloseall (void); # 243 "/usr/include/stdio.h" 3 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64") ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") ; # 256 "/usr/include/stdio.h" 3 extern FILE *fopen64 (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen64 (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ; extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); # 414 "/usr/include/stdio.h" 3 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 471 "/usr/include/stdio.h" 3 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 579 "/usr/include/stdio.h" 3 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); extern int fputs_unlocked (const char *__restrict __s, FILE *__restrict __stream); extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 715 "/usr/include/stdio.h" 3 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64"); extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); # 725 "/usr/include/stdio.h" 3 # 739 "/usr/include/stdio.h" 3 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64"); extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64"); # 748 "/usr/include/stdio.h" 3 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void perror (const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 extern int sys_nerr; extern const char *const sys_errlist[]; extern int _sys_nerr; extern const char *const _sys_errlist[]; # 782 "/usr/include/stdio.h" 2 3 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); # 867 "/usr/include/stdio.h" 3 # 44 "./lib/stdio.h" 2 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 54 "./lib/stdio.h" 2 # 1 "./lib/sys/types.h" 1 # 21 "./lib/sys/types.h" 3 # 33 "./lib/sys/types.h" # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino64_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; # 96 "/usr/include/sys/types.h" 3 typedef __id_t id_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/sys/types.h" 3 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 146 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 173 "/usr/include/sys/types.h" 3 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 10 "/usr/include/bits/wordsize.h" 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 1 "/usr/include/bits/uintn-identity.h" 1 3 static __inline __uint16_t __uint16_identity (__uint16_t __x) { return __x; } static __inline __uint32_t __uint32_identity (__uint32_t __x) { return __x; } static __inline __uint64_t __uint64_identity (__uint64_t __x) { return __x; } # 62 "/usr/include/endian.h" 2 3 # 96 "/usr/include/endian.h" 3 # 195 "/usr/include/sys/types.h" 2 3 # 1 "./lib/sys/select.h" 1 # 20 "./lib/sys/select.h" 3 # 71 "./lib/sys/select.h" # 1 "./lib/sys/types.h" 1 # 21 "./lib/sys/types.h" 3 # 33 "./lib/sys/types.h" # 1 "/usr/include/sys/types.h" 1 3 # 40 "./lib/sys/types.h" 2 # 56 "./lib/sys/types.h" # 98 "./lib/sys/types.h" # 78 "./lib/sys/select.h" 2 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 10 "/usr/include/bits/wordsize.h" 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 5 "/usr/include/bits/types/sigset_t.h" 2 3 typedef __sigset_t sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef long int __fd_mask; typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 101 "./lib/sys/select.h" 2 # 138 "./lib/sys/select.h" # 456 "./lib/sys/select.h" # 536 "./lib/sys/select.h" # 557 "./lib/sys/select.h" # 567 "./lib/sys/select.h" # 598 "./lib/sys/select.h" # 680 "./lib/sys/select.h" # 712 "./lib/sys/select.h" # 726 "./lib/sys/select.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 741 "./lib/sys/select.h" # 198 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 # 1 "/usr/include/bits/sysmacros.h" 1 3 # 47 "/usr/include/bits/sysmacros.h" 3 # 59 "/usr/include/bits/sysmacros.h" 3 # 73 "/usr/include/bits/sysmacros.h" 3 # 42 "/usr/include/sys/sysmacros.h" 2 3 # 59 "/usr/include/sys/sysmacros.h" 3 extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 84 "/usr/include/sys/sysmacros.h" 3 # 99 "/usr/include/sys/sysmacros.h" 3 # 109 "/usr/include/sys/sysmacros.h" 3 # 206 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; # 232 "/usr/include/sys/types.h" 3 typedef __blkcnt64_t blkcnt_t; typedef __fsblkcnt64_t fsblkcnt_t; typedef __fsfilcnt64_t fsfilcnt_t; typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 10 "/usr/include/bits/wordsize.h" 3 # 22 "/usr/include/bits/pthreadtypes-arch.h" 2 3 # 49 "/usr/include/bits/pthreadtypes-arch.h" 3 # 61 "/usr/include/bits/pthreadtypes-arch.h" 3 struct __pthread_rwlock_arch_t { unsigned int __readers; unsigned int __writers; unsigned int __wrphase_futex; unsigned int __writers_futex; unsigned int __pad3; unsigned int __pad4; # 90 "/usr/include/bits/pthreadtypes-arch.h" 3 unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __cur_writer; }; # 78 "/usr/include/bits/thread-shared-types.h" 2 3 # 88 "/usr/include/bits/thread-shared-types.h" 3 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; # 117 "/usr/include/bits/thread-shared-types.h" 3 struct __pthread_mutex_s { int __lock ; unsigned int __count; int __owner; int __kind; unsigned int __nusers; # 138 "/usr/include/bits/thread-shared-types.h" 3 __extension__ union { struct { short __espins; short __eelision; } __elision_data; __pthread_slist_t __list; }; }; struct __pthread_cond_s { __extension__ union { __extension__ unsigned long long int __wseq; struct { unsigned int __low; unsigned int __high; } __wseq32; }; __extension__ union { __extension__ unsigned long long int __g1_start; struct { unsigned int __low; unsigned int __high; } __g1_start32; }; unsigned int __g_refs[2] ; unsigned int __g_size[2]; unsigned int __g1_orig_size; unsigned int __wrefs; unsigned int __g_signals[2]; }; # 24 "/usr/include/bits/pthreadtypes.h" 2 3 typedef unsigned long int pthread_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef union { struct __pthread_mutex_s __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { struct __pthread_cond_s __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { struct __pthread_rwlock_arch_t __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 255 "/usr/include/sys/types.h" 2 3 # 40 "./lib/sys/types.h" 2 # 59 "./lib/stdio.h" 2 # 83 "./lib/stdio.h" # 95 "./lib/stdio.h" # 107 "./lib/stdio.h" # 460 "./lib/stdio.h" # 488 "./lib/stdio.h" # 568 "./lib/stdio.h" # 589 "./lib/stdio.h" # 599 "./lib/stdio.h" # 639 "./lib/stdio.h" extern int rpl_fclose (FILE *stream) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 658 "./lib/stdio.h" # 669 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 678 "./lib/stdio.h" extern int rpl_fflush (FILE *gl_stream); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 702 "./lib/stdio.h" # 712 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 727 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 742 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 751 "./lib/stdio.h" # 770 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 783 "./lib/stdio.h" # 799 "./lib/stdio.h" extern int fpurge (FILE *gl_stream) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 811 "./lib/stdio.h" # 821 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 836 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 851 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 868 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 879 "./lib/stdio.h" # 891 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 938 "./lib/stdio.h" extern int rpl_fseek (FILE *fp, long offset, int whence) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 953 "./lib/stdio.h" extern int rpl_fseeko (FILE *fp, off_t offset, int whence) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; # 969 "./lib/stdio.h" extern int _gl_cxxalias_dummy; # 979 "./lib/stdio.h" # 988 "./lib/stdio.h" # 1005 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1026 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1038 "./lib/stdio.h" # 1047 "./lib/stdio.h" # 1061 "./lib/stdio.h" extern int _gl_cxxalias_dummy; # 1087 "./lib/stdio.h" extern int _gl_cxxalias_dummy; # 1099 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1113 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1144 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1156 "./lib/stdio.h" # 1180 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1193 "./lib/stdio.h" # 1252 "./lib/stdio.h" # 1266 "./lib/stdio.h" # 1287 "./lib/stdio.h" # 1312 "./lib/stdio.h" # 1349 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1362 "./lib/stdio.h" # 1372 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1386 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1400 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1414 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1423 "./lib/stdio.h" # 1436 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1446 "./lib/stdio.h" # 1464 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1475 "./lib/stdio.h" # 1502 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1525 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1536 "./lib/stdio.h" # 1566 "./lib/stdio.h" # 1585 "./lib/stdio.h" # 1608 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1629 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1663 "./lib/stdio.h" # 1682 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1699 "./lib/stdio.h" # 1718 "./lib/stdio.h" # 1737 "./lib/stdio.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1753 "./lib/stdio.h" # 1769 "./lib/stdio.h" # 1799 "./lib/stdio.h" # 1826 "./lib/stdio.h" # 69 "parse-datetime.y" 2 # 1 "./lib/stdlib.h" 1 # 21 "./lib/stdlib.h" 3 # 31 "./lib/stdlib.h" # 1 "/usr/include/stdlib.h" 1 3 # 1 "/usr/include/bits/libc-header-start.h" 1 3 # 44 "/usr/include/bits/libc-header-start.h" 3 # 53 "/usr/include/bits/libc-header-start.h" 3 # 62 "/usr/include/bits/libc-header-start.h" 3 # 26 "/usr/include/stdlib.h" 2 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 32 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 35 "/usr/include/bits/waitflags.h" 3 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 40 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 41 "/usr/include/stdlib.h" 2 3 # 53 "/usr/include/stdlib.h" 3 # 1 "/usr/include/bits/floatn.h" 1 3 # 37 "/usr/include/bits/floatn.h" 3 # 69 "/usr/include/bits/floatn.h" 3 # 81 "/usr/include/bits/floatn.h" 3 # 117 "/usr/include/bits/floatn.h" 3 # 1 "/usr/include/bits/floatn-common.h" 1 3 # 1 "/usr/include/bits/long-double.h" 1 3 # 25 "/usr/include/bits/floatn-common.h" 2 3 # 58 "/usr/include/bits/floatn-common.h" 3 # 81 "/usr/include/bits/floatn-common.h" 3 # 89 "/usr/include/bits/floatn-common.h" 3 # 101 "/usr/include/bits/floatn-common.h" 3 # 109 "/usr/include/bits/floatn-common.h" 3 # 121 "/usr/include/bits/floatn-common.h" 3 # 129 "/usr/include/bits/floatn-common.h" 3 # 139 "/usr/include/bits/floatn-common.h" 3 # 147 "/usr/include/bits/floatn-common.h" 3 # 159 "/usr/include/bits/floatn-common.h" 3 # 167 "/usr/include/bits/floatn-common.h" 3 # 179 "/usr/include/bits/floatn-common.h" 3 # 187 "/usr/include/bits/floatn-common.h" 3 # 203 "/usr/include/bits/floatn-common.h" 3 # 216 "/usr/include/bits/floatn-common.h" 3 # 242 "/usr/include/bits/floatn-common.h" 3 # 253 "/usr/include/bits/floatn-common.h" 3 # 270 "/usr/include/bits/floatn-common.h" 3 # 287 "/usr/include/bits/floatn-common.h" 3 # 302 "/usr/include/bits/floatn-common.h" 3 # 319 "/usr/include/bits/floatn-common.h" 3 # 121 "/usr/include/bits/floatn.h" 2 3 # 56 "/usr/include/stdlib.h" 2 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern _Float32 strtof32 (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern _Float64 strtof64 (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern _Float32x strtof32x (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern _Float64x strtof64x (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int strfromd (char *__dest, size_t __size, const char *__format, double __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf (char *__dest, size_t __size, const char *__format, float __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfroml (char *__dest, size_t __size, const char *__format, long double __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf32 (char *__dest, size_t __size, const char * __format, _Float32 __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf64 (char *__dest, size_t __size, const char * __format, _Float64 __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf32x (char *__dest, size_t __size, const char * __format, _Float32x __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf64x (char *__dest, size_t __size, const char * __format, _Float64x __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); # 314 "/usr/include/stdlib.h" 3 extern _Float32 strtof32_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern _Float64 strtof64_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); # 335 "/usr/include/stdlib.h" 3 extern _Float32x strtof32x_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern _Float64x strtof64x_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); # 357 "/usr/include/stdlib.h" 3 # 379 "/usr/include/stdlib.h" 3 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "./lib/sys/types.h" 1 # 21 "./lib/sys/types.h" 3 # 33 "./lib/sys/types.h" # 395 "/usr/include/stdlib.h" 2 3 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "./lib/alloca.h" 1 # 65 "./lib/alloca.h" # 567 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") __attribute__ ((__nonnull__ (1))) ; extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") __attribute__ ((__nonnull__ (1))) ; # 717 "/usr/include/stdlib.h" 3 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64") __attribute__ ((__nonnull__ (1))) ; extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64") __attribute__ ((__nonnull__ (1))) ; extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 # 1017 "/usr/include/stdlib.h" 2 3 # 1025 "/usr/include/stdlib.h" 3 # 37 "./lib/stdlib.h" 2 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 43 "./lib/stdlib.h" 2 # 56 "./lib/stdlib.h" # 93 "./lib/stdlib.h" # 101 "./lib/stdlib.h" # 121 "./lib/stdlib.h" # 439 "./lib/stdlib.h" # 467 "./lib/stdlib.h" # 547 "./lib/stdlib.h" # 568 "./lib/stdlib.h" # 578 "./lib/stdlib.h" # 592 "./lib/stdlib.h" # 609 "./lib/stdlib.h" # 628 "./lib/stdlib.h" # 638 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 647 "./lib/stdlib.h" # 661 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 672 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 691 "./lib/stdlib.h" # 719 "./lib/stdlib.h" # 735 "./lib/stdlib.h" # 750 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 759 "./lib/stdlib.h" # 770 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 793 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 820 "./lib/stdlib.h" # 850 "./lib/stdlib.h" # 871 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 881 "./lib/stdlib.h" # 906 "./lib/stdlib.h" # 922 "./lib/stdlib.h" # 947 "./lib/stdlib.h" # 973 "./lib/stdlib.h" # 983 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1025 "./lib/stdlib.h" # 1034 "./lib/stdlib.h" # 1049 "./lib/stdlib.h" # 1063 "./lib/stdlib.h" # 1080 "./lib/stdlib.h" # 1094 "./lib/stdlib.h" # 1120 "./lib/stdlib.h" # 1149 "./lib/stdlib.h" # 1182 "./lib/stdlib.h" # 1211 "./lib/stdlib.h" # 1223 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1232 "./lib/stdlib.h" # 1249 "./lib/stdlib.h" # 1273 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1289 "./lib/stdlib.h" # 1305 "./lib/stdlib.h" # 1325 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1338 "./lib/stdlib.h" # 1353 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1363 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1388 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1413 "./lib/stdlib.h" # 1429 "./lib/stdlib.h" # 1443 "./lib/stdlib.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1455 "./lib/stdlib.h" # 1470 "./lib/stdlib.h" # 70 "parse-datetime.y" 2 # 1 "./lib/string.h" 1 # 21 "./lib/string.h" 3 # 34 "./lib/string.h" # 1 "/usr/include/string.h" 1 3 # 1 "/usr/include/bits/libc-header-start.h" 1 3 # 44 "/usr/include/bits/libc-header-start.h" 3 # 53 "/usr/include/bits/libc-header-start.h" 3 # 62 "/usr/include/bits/libc-header-start.h" 3 # 27 "/usr/include/string.h" 2 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 34 "/usr/include/string.h" 2 3 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 90 "/usr/include/string.h" 3 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 103 "/usr/include/string.h" 3 extern void *rawmemchr (const void *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 114 "/usr/include/string.h" 3 extern void *memrchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 188 "/usr/include/string.h" 3 # 200 "/usr/include/string.h" 3 # 225 "/usr/include/string.h" 3 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 252 "/usr/include/string.h" 3 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 265 "/usr/include/string.h" 3 extern char *strchrnul (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 302 "/usr/include/string.h" 3 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 329 "/usr/include/string.h" 3 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 359 "/usr/include/string.h" 3 extern char *strcasestr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (const void *__haystack, size_t __haystacklen, const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); # 418 "/usr/include/string.h" 3 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/strings.h" 1 3 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 24 "/usr/include/strings.h" 2 3 extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 68 "/usr/include/strings.h" 3 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 96 "/usr/include/strings.h" 3 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 147 "/usr/include/strings.h" 3 # 432 "/usr/include/string.h" 2 3 extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 486 "/usr/include/string.h" 3 extern char *basename (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 497 "/usr/include/string.h" 3 # 42 "./lib/string.h" 2 # 1 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 1 3 # 50 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 69 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 80 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 87 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 103 "/home/pie_zero/test/intel/compilers_and_libraries_2019.0.117/linux/compiler/include/stddef.h" 3 # 50 "./lib/string.h" 2 # 388 "./lib/string.h" # 416 "./lib/string.h" # 496 "./lib/string.h" # 517 "./lib/string.h" # 527 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 545 "./lib/string.h" # 559 "./lib/string.h" # 574 "./lib/string.h" # 592 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 613 "./lib/string.h" # 649 "./lib/string.h" # 659 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 670 "./lib/string.h" # 678 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 698 "./lib/string.h" # 728 "./lib/string.h" # 736 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 746 "./lib/string.h" # 769 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 781 "./lib/string.h" # 791 "./lib/string.h" # 830 "./lib/string.h" # 848 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 858 "./lib/string.h" # 870 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 880 "./lib/string.h" # 896 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 906 "./lib/string.h" # 926 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 936 "./lib/string.h" # 948 "./lib/string.h" # 987 "./lib/string.h" # 997 "./lib/string.h" # 1007 "./lib/string.h" # 1046 "./lib/string.h" # 1057 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1085 "./lib/string.h" # 1134 "./lib/string.h" # 1197 "./lib/string.h" # 1217 "./lib/string.h" extern size_t mbslen (const char *string) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1232 "./lib/string.h" # 1247 "./lib/string.h" extern char * mbschr (const char *string, int c) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1276 "./lib/string.h" extern char * mbsstr (const char *haystack, const char *needle) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int mbscasecmp (const char *s1, const char *s2) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 1313 "./lib/string.h" # 1327 "./lib/string.h" # 1338 "./lib/string.h" # 1349 "./lib/string.h" # 1371 "./lib/string.h" # 1382 "./lib/string.h" # 1401 "./lib/string.h" # 1422 "./lib/string.h" # 1430 "./lib/string.h" extern char * rpl_strerror (int); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1442 "./lib/string.h" # 1471 "./lib/string.h" # 1483 "./lib/string.h" extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1495 "./lib/string.h" # 1511 "./lib/string.h" # 71 "parse-datetime.y" 2 # 1 "../../../coreutils-8.30/lib/gettext.h" 1 # 1 "/usr/include/libintl.h" 1 3 extern char *gettext (const char *__msgid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (1))); extern char *dgettext (const char *__domainname, const char *__msgid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); extern char *__dgettext (const char *__domainname, const char *__msgid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); extern char *dcgettext (const char *__domainname, const char *__msgid, int __category) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); extern char *__dcgettext (const char *__domainname, const char *__msgid, int __category) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); extern char *ngettext (const char *__msgid1, const char *__msgid2, unsigned long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2))); extern char *dngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); extern char *dcngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); extern char *textdomain (const char *__domainname) __attribute__ ((__nothrow__ , __leaf__)); extern char *bindtextdomain (const char *__domainname, const char *__dirname) __attribute__ ((__nothrow__ , __leaf__)); extern char *bind_textdomain_codeset (const char *__domainname, const char *__codeset) __attribute__ ((__nothrow__ , __leaf__)); # 120 "/usr/include/libintl.h" 3 # 27 "../../../coreutils-8.30/lib/gettext.h" 2 # 39 "../../../coreutils-8.30/lib/gettext.h" # 95 "../../../coreutils-8.30/lib/gettext.h" # 140 "../../../coreutils-8.30/lib/gettext.h" __inline static const char * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category) { const char *translation = dcgettext (domain, msg_ctxt_id, category); if (translation == msg_ctxt_id) return msgid; else return translation; } __inline static const char * npgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { const char *translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); if (translation == msg_ctxt_id || translation == msgid_plural) return (n == 1 ? msgid : msgid_plural); else return translation; } # 1 "./lib/string.h" 1 # 21 "./lib/string.h" 3 # 34 "./lib/string.h" # 186 "../../../coreutils-8.30/lib/gettext.h" 2 # 194 "../../../coreutils-8.30/lib/gettext.h" __inline static const char * dcpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; char msg_ctxt_id[msgctxt_len + msgid_len]; # 229 "../../../coreutils-8.30/lib/gettext.h" { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcgettext (domain, msg_ctxt_id, category); found_translation = (translation != msg_ctxt_id); if (found_translation) return translation; } return msgid; } __inline static const char * dcnpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; char msg_ctxt_id[msgctxt_len + msgid_len]; # 277 "../../../coreutils-8.30/lib/gettext.h" { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); found_translation = !(translation == msg_ctxt_id || translation == msgid_plural); if (found_translation) return translation; } return (n == 1 ? msgid : msgid_plural); } # 73 "parse-datetime.y" 2 _Static_assert (((time_t) 1.5 == 1), "verify (" "TYPE_IS_INTEGER (time_t)" ")"); _Static_assert (!(! ((time_t) 0 < (time_t) -1)) || (-9223372036854775807LL-1) <= ((time_t) ~ ((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1)))), "verify (" "!TYPE_SIGNED (time_t) || INTMAX_MIN <= TYPE_MINIMUM (time_t)" ")"); _Static_assert (((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1))) <= (9223372036854775807LL), "verify (" "TYPE_MAXIMUM (time_t) <= INTMAX_MAX" ")"); static _Bool time_overflow (intmax_t n) { return ! (((! ((time_t) 0 < (time_t) -1)) ? ((time_t) ~ ((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1)))) <= n : 0 <= n) && n <= ((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1)))); } static unsigned char to_uchar (char ch) { return ch; } static void __attribute__ ((__format__ (__printf__, 1, 2))) dbg_printf (char const *msg, ...) { va_list args; fputs ("date: ", stderr); __builtin_va_start(args, msg); vfprintf (stderr, msg, args); __builtin_va_end(args); } typedef struct { _Bool negative; intmax_t value; ptrdiff_t digits; } textint; typedef struct { char const *name; int type; int value; } table; enum { MERam, MERpm, MER24 }; enum { DBGBUFSIZE = 100 }; enum { BILLION = 1000000000, LOG10_BILLION = 9 }; typedef struct { intmax_t year; intmax_t month; intmax_t day; intmax_t hour; intmax_t minutes; intmax_t seconds; int ns; } relative_time; typedef struct { const char *input; intmax_t day_ordinal; int day_number; int local_isdst; int time_zone; int meridian; textint year; intmax_t month; intmax_t day; intmax_t hour; intmax_t minutes; struct timespec seconds; relative_time rel; _Bool timespec_seen; _Bool rels_seen; ptrdiff_t dates_seen; ptrdiff_t days_seen; ptrdiff_t local_zones_seen; ptrdiff_t dsts_seen; ptrdiff_t times_seen; ptrdiff_t zones_seen; _Bool year_seen; _Bool parse_datetime_debug; _Bool debug_dates_seen; _Bool debug_days_seen; _Bool debug_local_zones_seen; _Bool debug_times_seen; _Bool debug_zones_seen; _Bool debug_year_seen; _Bool debug_ordinal_day_seen; table local_time_zone_table[3]; } parser_control; union YYSTYPE; static int yylex (union YYSTYPE *, parser_control *); static int yyerror (parser_control const *, char const *); static _Bool time_zone_hhmm (parser_control *, textint, intmax_t); static void digits_to_date_time (parser_control *pc, textint text_int) { if (pc->dates_seen && ! pc->year.digits && ! pc->rels_seen && (pc->times_seen || 2 < text_int.digits)) { pc->year_seen = 1; pc->year = text_int; } else { if (4 < text_int.digits) { pc->dates_seen++; pc->day = text_int.value % 100; pc->month = (text_int.value / 100) % 100; pc->year.value = text_int.value / 10000; pc->year.digits = text_int.digits - 4; } else { pc->times_seen++; if (text_int.digits <= 2) { pc->hour = text_int.value; pc->minutes = 0; } else { pc->hour = text_int.value / 100; pc->minutes = text_int.value % 100; } pc->seconds.tv_sec = 0; pc->seconds.tv_nsec = 0; pc->meridian = MER24; } } } static _Bool apply_relative_time (parser_control *pc, relative_time rel, int factor) { pc->rels_seen = 1; return 1; } static void set_hhmmss (parser_control *pc, intmax_t hour, intmax_t minutes, time_t sec, int nsec) { pc->hour = hour; pc->minutes = minutes; pc->seconds.tv_sec = sec; pc->seconds.tv_nsec = nsec; } static const char * str_days (parser_control *pc, char *buffer, int n) { static char const ordinal_values[][11] = { "last", "this", "next/first", "(SECOND)", "third", "fourth", "fifth", "sixth", "seventh", "eight", "ninth", "tenth", "eleventh", "twelfth" }; static char const days_values[][4] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; int len; if (pc->debug_ordinal_day_seen) { len = (-1 <= pc->day_ordinal && pc->day_ordinal <= 12 ? snprintf (buffer, n, "%s", ordinal_values[pc->day_ordinal + 1]) : snprintf (buffer, n, "%" "ll" "d", pc->day_ordinal)); } else { buffer[0] = '\0'; len = 0; } if (0 <= pc->day_number && pc->day_number <= 6 && 0 <= len && len < n) snprintf (buffer + len, n - len, &" %s"[len == 0], days_values[pc->day_number]); else { } return buffer; } enum { TIME_ZONE_BUFSIZE = (((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + sizeof ":MM:SS" } ; static char const * time_zone_str (int time_zone, char time_zone_buf[TIME_ZONE_BUFSIZE]) { char *p = time_zone_buf; char sign = time_zone < 0 ? '-' : '+'; int hour = abs (time_zone / (60 * 60)); p += sprintf (time_zone_buf, "%c%02d", sign, hour); int offset_from_hour = abs (time_zone % (60 * 60)); if (offset_from_hour != 0) { int mm = offset_from_hour / 60; int ss = offset_from_hour % 60; *p++ = ':'; *p++ = '0' + mm / 10; *p++ = '0' + mm % 10; if (ss) { *p++ = ':'; *p++ = '0' + ss / 10; *p++ = '0' + ss % 10; } *p = '\0'; } return time_zone_buf; } static void debug_print_current_time (char const *item, parser_control *pc) { _Bool space = 0; if (!pc->parse_datetime_debug) return; dbg_printf (gettext ("parsed %s part: "), item); if (pc->dates_seen && !pc->debug_dates_seen) { fprintf (stderr, "(Y-M-D) %04" "ll" "d" "-%02" "ll" "d" "-%02" "ll" "d", pc->year.value, pc->month, pc->day); pc->debug_dates_seen = 1; space = 1; } if (pc->year_seen != pc->debug_year_seen) { if (space) fputc (' ', stderr); fprintf (stderr, gettext ("year: %04" "ll" "d"), pc->year.value); pc->debug_year_seen = pc->year_seen; space = 1; } if (pc->times_seen && !pc->debug_times_seen) { intmax_t sec = pc->seconds.tv_sec; fprintf (stderr, &" %02" "ll" "d" ":%02" "ll" "d" ":%02" "ll" "d"[!space], pc->hour, pc->minutes, sec); if (pc->seconds.tv_nsec != 0) { int nsec = pc->seconds.tv_nsec; fprintf (stderr, ".%09d", nsec); } if (pc->meridian == MERpm) fputs ("pm", stderr); pc->debug_times_seen = 1; space = 1; } if (pc->days_seen && !pc->debug_days_seen) { if (space) fputc (' ', stderr); char tmp[DBGBUFSIZE]; fprintf (stderr, gettext ("%s (day ordinal=%" "ll" "d" " number=%d)"), str_days (pc, tmp, sizeof tmp), pc->day_ordinal, pc->day_number); pc->debug_days_seen = 1; space = 1; } if (pc->local_zones_seen && !pc->debug_local_zones_seen) { fprintf (stderr, &" isdst=%d%s"[!space], pc->local_isdst, pc->dsts_seen ? " DST" : ""); pc->debug_local_zones_seen = 1; space = 1; } if (pc->zones_seen && !pc->debug_zones_seen) { char time_zone_buf[TIME_ZONE_BUFSIZE]; fprintf (stderr, &" UTC%s"[!space], time_zone_str (pc->time_zone, time_zone_buf)); pc->debug_zones_seen = 1; space = 1; } if (pc->timespec_seen) { intmax_t sec = pc->seconds.tv_sec; if (space) fputc (' ', stderr); fprintf (stderr, gettext ("number of seconds: %" "ll" "d"), sec); } fputc ('\n', stderr); } static _Bool print_rel_part (_Bool space, intmax_t val, char const *name) { if (val == 0) return space; fprintf (stderr, &" %+" "ll" "d" " %s"[!space], val, name); return 1; } static void debug_print_relative_time (char const *item, parser_control const *pc) { _Bool space = 0; if (!pc->parse_datetime_debug) return; dbg_printf (gettext ("parsed %s part: "), item); if (pc->rel.year == 0 && pc->rel.month == 0 && pc->rel.day == 0 && pc->rel.hour == 0 && pc->rel.minutes == 0 && pc->rel.seconds == 0 && pc->rel.ns == 0) { fputs (gettext ("today/this/now\n"), stderr); return; } space = print_rel_part (space, pc->rel.year, "year(s)"); space = print_rel_part (space, pc->rel.month, "month(s)"); space = print_rel_part (space, pc->rel.day, "day(s)"); space = print_rel_part (space, pc->rel.hour, "hour(s)"); space = print_rel_part (space, pc->rel.minutes, "minutes"); space = print_rel_part (space, pc->rel.seconds, "seconds"); print_rel_part (space, pc->rel.ns, "nanoseconds"); fputc ('\n', stderr); } # 631 "parse-datetime.c" # 639 "parse-datetime.c" # 647 "parse-datetime.c" # 656 "parse-datetime.c" enum yytokentype { tAGO = 258, tDST = 259, tYEAR_UNIT = 260, tMONTH_UNIT = 261, tHOUR_UNIT = 262, tMINUTE_UNIT = 263, tSEC_UNIT = 264, tDAY_UNIT = 265, tDAY_SHIFT = 266, tDAY = 267, tDAYZONE = 268, tLOCAL_ZONE = 269, tMERIDIAN = 270, tMONTH = 271, tORDINAL = 272, tZONE = 273, tSNUMBER = 274, tUNUMBER = 275, tSDECIMAL_NUMBER = 276, tUDECIMAL_NUMBER = 277 }; # 705 "parse-datetime.c" union YYSTYPE { # 576 "parse-datetime.y" intmax_t intval; textint textintval; struct timespec timespec; relative_time rel; # 719 "parse-datetime.c" }; typedef union YYSTYPE YYSTYPE; int yyparse (parser_control *pc); # 735 "parse-datetime.c" typedef unsigned char yytype_uint8; typedef signed char yytype_int8; typedef unsigned short int yytype_uint16; typedef short int yytype_int16; # 776 "parse-datetime.c" # 790 "parse-datetime.c" # 800 "parse-datetime.c" # 817 "parse-datetime.c" # 843 "parse-datetime.c" # 872 "parse-datetime.c" # 911 "parse-datetime.c" union yyalloc { yytype_int16 yyss_alloc; YYSTYPE yyvs_alloc; }; # 950 "parse-datetime.c" # 972 "parse-datetime.c" static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 26, 2, 2, 27, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 25, 2, 2, 2, 2, 2, 23, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 24, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 }; # 1045 "parse-datetime.c" # 1063 "parse-datetime.c" # 1074 "parse-datetime.c" static const yytype_int8 yypact[] = { 38, 27, 77, -93, 46, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, 62, -93, 82, -3, 66, 3, 74, -4, 83, 84, 75, -93, -93, -93, -93, -93, -93, -93, -93, -93, 71, -93, 93, -93, -93, -93, -93, -93, -93, 78, 72, -93, -93, -93, -93, -93, -93, -93, -93, 25, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, 21, 19, 79, 80, -93, -93, -93, -93, -93, 81, -93, -93, 85, 86, -93, -93, -93, -93, -93, -6, 76, 17, -93, -93, -93, -93, 87, 69, -93, -93, 88, 89, -1, -93, 18, -93, -93, 69, 91 }; static const yytype_uint8 yydefact[] = { 5, 0, 0, 2, 3, 85, 87, 84, 86, 4, 82, 83, 1, 56, 59, 65, 68, 73, 62, 81, 37, 35, 28, 0, 0, 30, 0, 88, 0, 0, 31, 6, 7, 16, 8, 21, 9, 10, 12, 11, 49, 13, 52, 74, 53, 14, 15, 38, 29, 0, 45, 54, 57, 63, 66, 69, 60, 39, 36, 90, 32, 75, 76, 78, 79, 80, 77, 55, 58, 64, 67, 70, 61, 40, 18, 47, 90, 0, 0, 22, 89, 71, 72, 33, 0, 51, 44, 0, 0, 34, 43, 48, 50, 27, 25, 41, 0, 17, 46, 91, 19, 90, 0, 23, 26, 0, 0, 25, 42, 25, 20, 24, 0, 25 }; static const yytype_int8 yypgoto[] = { -93, -93, -93, -93, -93, -93, -93, -93, 20, -68, -27, -93, -93, -93, -93, -93, -93, -93, 60, -93, -93, -93, -92, -93, -93, 43 }; static const yytype_int8 yydefgoto[] = { -1, 2, 3, 4, 31, 32, 33, 34, 35, 103, 104, 36, 37, 38, 39, 40, 41, 42, 43, 44, 9, 10, 11, 45, 46, 93 }; static const yytype_uint8 yytable[] = { 79, 67, 68, 69, 70, 71, 72, 58, 73, 100, 107, 74, 75, 101, 110, 76, 49, 50, 101, 102, 113, 77, 59, 78, 61, 62, 63, 64, 65, 66, 61, 62, 63, 64, 65, 66, 101, 101, 92, 111, 90, 91, 106, 112, 88, 111, 5, 6, 7, 8, 88, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 1, 23, 24, 25, 26, 27, 28, 29, 79, 30, 51, 52, 53, 54, 55, 56, 12, 57, 61, 62, 63, 64, 65, 66, 60, 48, 80, 47, 6, 83, 8, 81, 82, 26, 84, 85, 86, 87, 94, 95, 96, 89, 105, 97, 98, 99, 0, 108, 109, 101, 0, 88 }; static const yytype_int8 yycheck[] = { 27, 5, 6, 7, 8, 9, 10, 4, 12, 15, 102, 15, 16, 19, 15, 19, 19, 20, 19, 25, 112, 25, 19, 27, 5, 6, 7, 8, 9, 10, 5, 6, 7, 8, 9, 10, 19, 19, 19, 107, 19, 20, 25, 25, 25, 113, 19, 20, 21, 22, 25, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 23, 16, 17, 18, 19, 20, 21, 22, 96, 24, 5, 6, 7, 8, 9, 10, 0, 12, 5, 6, 7, 8, 9, 10, 25, 4, 27, 26, 20, 30, 22, 9, 9, 19, 24, 3, 19, 26, 20, 20, 20, 59, 27, 84, 20, 20, -1, 20, 20, 19, -1, 25 }; static const yytype_uint8 yystos[] = { 0, 23, 29, 30, 31, 19, 20, 21, 22, 48, 49, 50, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 24, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 47, 51, 52, 26, 4, 19, 20, 5, 6, 7, 8, 9, 10, 12, 4, 19, 46, 5, 6, 7, 8, 9, 10, 5, 6, 7, 8, 9, 10, 12, 15, 16, 19, 25, 27, 38, 46, 9, 9, 46, 24, 3, 19, 26, 25, 53, 19, 20, 19, 53, 20, 20, 20, 36, 20, 20, 15, 19, 25, 37, 38, 27, 25, 50, 20, 20, 15, 37, 25, 50 }; static const yytype_uint8 yyr1[] = { 0, 28, 29, 29, 30, 31, 31, 32, 32, 32, 32, 32, 32, 32, 32, 32, 33, 34, 35, 35, 35, 35, 36, 36, 36, 37, 37, 38, 39, 39, 40, 40, 40, 40, 40, 40, 40, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 44, 44, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 46, 46, 46, 46, 46, 46, 47, 48, 48, 49, 49, 50, 50, 51, 52, 53, 53 }; static const yytype_uint8 yyr2[] = { 0, 2, 1, 1, 2, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 4, 6, 1, 2, 4, 6, 0, 1, 2, 1, 2, 1, 1, 2, 2, 3, 1, 2, 1, 2, 2, 2, 3, 5, 3, 3, 2, 4, 2, 3, 1, 3, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 2 }; # 1250 "parse-datetime.c" # 1386 "parse-datetime.c" # 1626 "parse-datetime.c" static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, parser_control *pc) { ((void) (yyvaluep)); ((void) (pc)); if (!yymsg) yymsg = "Deleting"; ; _Pragma ("GCC diagnostic push") _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") ((void) (yytype)); _Pragma ("GCC diagnostic pop") } int yyparse (parser_control *pc) { int yychar; YYSTYPE yylval ; int yynerrs; int yystate; int yyerrstatus; yytype_int16 yyssa[20]; yytype_int16 *yyss; yytype_int16 *yyssp; YYSTYPE yyvsa[20]; YYSTYPE *yyvs; YYSTYPE *yyvsp; unsigned yystacksize; int yyn; int yyresult; int yytoken = 0; YYSTYPE yyval; # 1705 "parse-datetime.c" int yylen = 0; yyssp = yyss = yyssa; yyvsp = yyvs = yyvsa; yystacksize = 20; ; yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = (-2); goto yysetstate; yynewstate: yyssp++; yysetstate: *yyssp = yystate; if (yyss + yystacksize - 1 <= yyssp) { unsigned yysize = yyssp - yyss + 1; # 1764 "parse-datetime.c" if (20 <= yystacksize) goto yyexhaustedlab; yystacksize *= 2; if (20 < yystacksize) yystacksize = 20; { yytype_int16 *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) malloc (((yystacksize) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) + (sizeof (union yyalloc) - 1))); if (! yyptr) goto yyexhaustedlab; do { unsigned yynewbytes; __builtin_memcpy (&yyptr->yyss_alloc, yyss, (yysize) * sizeof (*(yyss))); yyss = &yyptr->yyss_alloc; yynewbytes = yystacksize * sizeof (*yyss) + (sizeof (union yyalloc) - 1); yyptr += yynewbytes / sizeof (*yyptr); } while (0); do { unsigned yynewbytes; __builtin_memcpy (&yyptr->yyvs_alloc, yyvs, (yysize) * sizeof (*(yyvs))); yyvs = &yyptr->yyvs_alloc; yynewbytes = yystacksize * sizeof (*yyvs) + (sizeof (union yyalloc) - 1); yyptr += yynewbytes / sizeof (*yyptr); } while (0); if (yyss1 != yyssa) free (yyss1); } yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; ; if (yyss + yystacksize - 1 <= yyssp) goto yyabortlab; } ; if (yystate == 12) goto yyacceptlab; goto yybackup; yybackup: yyn = yypact[yystate]; if ((! !((yyn) == (-93)))) goto yydefault; if (yychar == (-2)) { ; yychar = yylex (&yylval, pc); } if (yychar <= 0) { yychar = yytoken = 0; ; } else { yytoken = ((unsigned int) (yychar) <= 277 ? yytranslate[yychar] : 2); ; } yyn += yytoken; if (yyn < 0 || 112 < yyn || yycheck[yyn] != yytoken) goto yydefault; yyn = yytable[yyn]; if (yyn <= 0) { if (0) goto yyerrlab; yyn = -yyn; goto yyreduce; } if (yyerrstatus) yyerrstatus--; ; yychar = (-2); yystate = yyn; _Pragma ("GCC diagnostic push") _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") *++yyvsp = yylval; _Pragma ("GCC diagnostic pop") goto yynewstate; yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; goto yyreduce; yyreduce: yylen = yyr2[yyn]; yyval = yyvsp[1-yylen]; ; switch (yyn) { case 4: # 609 "parse-datetime.y" { pc->seconds = (yyvsp[0].timespec); pc->timespec_seen = 1; debug_print_current_time (gettext ("number of seconds"), pc); } # 1908 "parse-datetime.c" break; case 7: # 623 "parse-datetime.y" { pc->times_seen++; pc->dates_seen++; debug_print_current_time (gettext ("datetime"), pc); } # 1917 "parse-datetime.c" break; case 8: # 628 "parse-datetime.y" { pc->times_seen++; debug_print_current_time (gettext ("time"), pc); } # 1926 "parse-datetime.c" break; case 9: # 633 "parse-datetime.y" { pc->local_zones_seen++; debug_print_current_time (gettext ("local_zone"), pc); } # 1935 "parse-datetime.c" break; case 10: # 638 "parse-datetime.y" { pc->zones_seen++; debug_print_current_time (gettext ("zone"), pc); } # 1944 "parse-datetime.c" break; case 11: # 643 "parse-datetime.y" { pc->dates_seen++; debug_print_current_time (gettext ("date"), pc); } # 1953 "parse-datetime.c" break; case 12: # 648 "parse-datetime.y" { pc->days_seen++; debug_print_current_time (gettext ("day"), pc); } # 1962 "parse-datetime.c" break; case 13: # 653 "parse-datetime.y" { debug_print_relative_time (gettext ("relative"), pc); } # 1970 "parse-datetime.c" break; case 14: # 657 "parse-datetime.y" { debug_print_current_time (gettext ("number"), pc); } # 1978 "parse-datetime.c" break; case 15: # 661 "parse-datetime.y" { debug_print_relative_time (gettext ("hybrid"), pc); } # 1986 "parse-datetime.c" break; case 18: # 676 "parse-datetime.y" { set_hhmmss (pc, (yyvsp[-1].textintval).value, 0, 0, 0); pc->meridian = (yyvsp[0].intval); } # 1995 "parse-datetime.c" break; case 19: # 681 "parse-datetime.y" { set_hhmmss (pc, (yyvsp[-3].textintval).value, (yyvsp[-1].textintval).value, 0, 0); pc->meridian = (yyvsp[0].intval); } # 2004 "parse-datetime.c" break; case 20: # 686 "parse-datetime.y" { set_hhmmss (pc, (yyvsp[-5].textintval).value, (yyvsp[-3].textintval).value, (yyvsp[-1].timespec).tv_sec, (yyvsp[-1].timespec).tv_nsec); pc->meridian = (yyvsp[0].intval); } # 2013 "parse-datetime.c" break; case 22: # 695 "parse-datetime.y" { set_hhmmss (pc, (yyvsp[-1].textintval).value, 0, 0, 0); pc->meridian = MER24; } # 2022 "parse-datetime.c" break; case 23: # 700 "parse-datetime.y" { set_hhmmss (pc, (yyvsp[-3].textintval).value, (yyvsp[-1].textintval).value, 0, 0); pc->meridian = MER24; } # 2031 "parse-datetime.c" break; case 24: # 705 "parse-datetime.y" { set_hhmmss (pc, (yyvsp[-5].textintval).value, (yyvsp[-3].textintval).value, (yyvsp[-1].timespec).tv_sec, (yyvsp[-1].timespec).tv_nsec); pc->meridian = MER24; } # 2040 "parse-datetime.c" break; case 27: # 718 "parse-datetime.y" { pc->zones_seen++; if (! time_zone_hhmm (pc, (yyvsp[-1].textintval), (yyvsp[0].intval))) goto yyabortlab; } # 2049 "parse-datetime.c" break; case 28: # 743 "parse-datetime.y" { pc->local_isdst = (yyvsp[0].intval); } # 2055 "parse-datetime.c" break; case 29: # 745 "parse-datetime.y" { pc->local_isdst = 1; pc->dsts_seen++; } # 2064 "parse-datetime.c" break; case 30: # 755 "parse-datetime.y" { pc->time_zone = (yyvsp[0].intval); } # 2070 "parse-datetime.c" break; case 31: # 757 "parse-datetime.y" { pc->time_zone = (60 * 60 * (7)); } # 2076 "parse-datetime.c" break; case 32: # 759 "parse-datetime.y" { pc->time_zone = (yyvsp[-1].intval); if (! apply_relative_time (pc, (yyvsp[0].rel), 1)) goto yyabortlab; debug_print_relative_time (gettext ("relative"), pc); } # 2085 "parse-datetime.c" break; case 33: # 764 "parse-datetime.y" { pc->time_zone = (60 * 60 * (7)); if (! apply_relative_time (pc, (yyvsp[0].rel), 1)) goto yyabortlab; debug_print_relative_time (gettext ("relative"), pc); } # 2094 "parse-datetime.c" break; case 34: # 769 "parse-datetime.y" { if (! time_zone_hhmm (pc, (yyvsp[-1].textintval), (yyvsp[0].intval))) goto yyabortlab; if ((sizeof *(&pc->time_zone) == sizeof (signed char) ? (sizeof ((pc->time_zone) + ((yyvsp[-2]. intval))) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (pc->time_zone), (signed char) ((yyvsp[-2]. intval)), (__typeof__ (((signed char) (pc->time_zone)) + ((signed char) ((yyvsp[-2]. intval))))) 0) || (((0 * (((signed char) (pc->time_zone)) + ((signed char) ((yyvsp[-2]. intval)))) - (1)) < 0) && (((signed char) (pc->time_zone)) + ((signed char) ((yyvsp[-2]. intval)))) < ((-127-1))) || (127) < (((signed char) (pc->time_zone)) + ((signed char) ((yyvsp[-2]. intval))))) ? (*(&pc->time_zone) = ((signed char) ((unsigned int) ((signed char) (pc->time_zone)) + (unsigned int) ((signed char) ((yyvsp[-2]. intval))))), 1) : (*(&pc->time_zone) = ((signed char) ((unsigned int) ((signed char) (pc->time_zone)) + (unsigned int) ((signed char) ((yyvsp[-2]. intval))))), 0)) : ((__builtin_add_overflow_p (pc->time_zone, (yyvsp[-2]. intval), (__typeof__ ((pc->time_zone) + ((yyvsp[-2]. intval)))) 0) || (((0 * ((pc->time_zone) + ((yyvsp[-2]. intval))) - (1)) < 0) && ((pc->time_zone) + ((yyvsp[-2]. intval))) < ((-127-1))) || (127) < ((pc->time_zone) + ((yyvsp[-2]. intval)))) ? (*(&pc->time_zone) = ((signed char) ((unsigned int) (pc->time_zone) + (unsigned int) ((yyvsp[-2]. intval)))), 1) : (*(&pc->time_zone) = ((signed char) ((unsigned int) (pc->time_zone) + (unsigned int) ((yyvsp[-2]. intval)))), 0))) : sizeof *(&pc->time_zone) == sizeof (short int) ? (sizeof ((pc->time_zone) + ((yyvsp[-2]. intval))) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (pc->time_zone), (short int) ((yyvsp[-2]. intval)), (__typeof__ (((short int) (pc->time_zone)) + ((short int) ((yyvsp[-2]. intval))))) 0) || (((0 * (((short int) (pc->time_zone)) + ((short int) ((yyvsp[-2]. intval)))) - (1)) < 0) && (((short int) (pc->time_zone)) + ((short int) ((yyvsp[-2]. intval)))) < ((-32767 -1))) || (32767) < (((short int) (pc->time_zone)) + ((short int) ((yyvsp[-2]. intval))))) ? (*(&pc->time_zone) = ((short int) ((unsigned int) ((short int) (pc->time_zone)) + (unsigned int) ((short int) ((yyvsp[-2]. intval))))), 1) : (*(&pc->time_zone) = ((short int) ((unsigned int) ((short int) (pc->time_zone)) + (unsigned int) ((short int) ((yyvsp[-2]. intval))))), 0)) : ((__builtin_add_overflow_p (pc->time_zone, (yyvsp[-2]. intval), (__typeof__ ((pc->time_zone) + ((yyvsp[-2]. intval)))) 0) || (((0 * ((pc->time_zone) + ((yyvsp[-2]. intval))) - (1)) < 0) && ((pc->time_zone) + ((yyvsp[-2]. intval))) < ((-32767 -1))) || (32767) < ((pc->time_zone) + ((yyvsp[-2]. intval)))) ? (*(&pc->time_zone) = ((short int) ((unsigned int) (pc->time_zone) + (unsigned int) ((yyvsp[-2]. intval)))), 1) : (*(&pc->time_zone) = ((short int) ((unsigned int) (pc->time_zone) + (unsigned int) ((yyvsp[-2]. intval)))), 0))) : sizeof *(&pc->time_zone) == sizeof (int) ? (sizeof ((pc->time_zone) + ((yyvsp[-2]. intval))) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (pc->time_zone), (int) ((yyvsp[-2]. intval)), (__typeof__ (((int) (pc->time_zone)) + ((int) ((yyvsp[-2]. intval))))) 0) || (((0 * (((int) (pc->time_zone)) + ((int) ((yyvsp[-2]. intval)))) - (1)) < 0) && (((int) (pc->time_zone)) + ((int) ((yyvsp[-2]. intval)))) < ((-2147483647 -1))) || (2147483647) < (((int) (pc->time_zone)) + ((int) ((yyvsp[-2]. intval))))) ? (*(&pc->time_zone) = ((int) ((unsigned int) ((int) (pc->time_zone)) + (unsigned int) ((int) ((yyvsp[-2]. intval))))), 1) : (*(&pc->time_zone) = ((int) ((unsigned int) ((int) (pc->time_zone)) + (unsigned int) ((int) ((yyvsp[-2]. intval))))), 0)) : ((__builtin_add_overflow_p (pc->time_zone, (yyvsp[-2]. intval), (__typeof__ ((pc->time_zone) + ((yyvsp[-2]. intval)))) 0) || (((0 * ((pc->time_zone) + ((yyvsp[-2]. intval))) - (1)) < 0) && ((pc->time_zone) + ((yyvsp[-2]. intval))) < ((-2147483647 -1))) || (2147483647) < ((pc->time_zone) + ((yyvsp[-2]. intval)))) ? (*(&pc->time_zone) = ((int) ((unsigned int) (pc->time_zone) + (unsigned int) ((yyvsp[-2]. intval)))), 1) : (*(&pc->time_zone) = ((int) ((unsigned int) (pc->time_zone) + (unsigned int) ((yyvsp[-2]. intval)))), 0))) : (sizeof *(&pc->time_zone) == sizeof (long int) ? (sizeof ((pc->time_zone) + ((yyvsp[-2]. intval))) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (pc->time_zone), (long int) ((yyvsp[-2]. intval)), (__typeof__ (((long int) (pc->time_zone)) + ((long int) ((yyvsp[-2]. intval))))) 0) || (((0 * (((long int) (pc->time_zone)) + ((long int) ((yyvsp[-2]. intval)))) - (1)) < 0) && (((long int) (pc->time_zone)) + ((long int) ((yyvsp[-2]. intval)))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (pc->time_zone)) + ((long int) ((yyvsp[-2]. intval))))) ? (*(&pc->time_zone) = ((long int) ((unsigned long int) ((long int) (pc->time_zone)) + (unsigned long int) ((long int) ((yyvsp[-2]. intval))))), 1) : (*(&pc->time_zone) = ((long int) ((unsigned long int) ((long int) (pc->time_zone)) + (unsigned long int) ((long int) ((yyvsp[-2]. intval))))), 0)) : ((__builtin_add_overflow_p (pc->time_zone, (yyvsp[-2]. intval), (__typeof__ ((pc->time_zone) + ((yyvsp[-2]. intval)))) 0) || (((0 * ((pc->time_zone) + ((yyvsp[-2]. intval))) - (1)) < 0) && ((pc->time_zone) + ((yyvsp[-2]. intval))) < ((-2147483647 -1L))) || (2147483647) < ((pc->time_zone) + ((yyvsp[-2]. intval)))) ? (*(&pc->time_zone) = ((long int) ((unsigned long int) (pc->time_zone) + (unsigned long int) ((yyvsp[-2]. intval)))), 1) : (*(&pc->time_zone) = ((long int) ((unsigned long int) (pc->time_zone) + (unsigned long int) ((yyvsp[-2]. intval)))), 0))) : (sizeof ((pc->time_zone) + ((yyvsp[-2]. intval))) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (pc->time_zone), (long long int) ((yyvsp[-2]. intval)), (__typeof__ (((long long int) (pc->time_zone)) + ((long long int) ((yyvsp[-2]. intval))))) 0) || (((0 * (((long long int) (pc->time_zone)) + ((long long int) ((yyvsp[-2]. intval)))) - (1)) < 0) && (((long long int) (pc->time_zone)) + ((long long int) ((yyvsp[-2]. intval)))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (pc->time_zone)) + ((long long int) ((yyvsp[-2]. intval))))) ? (*(&pc->time_zone) = ((long long int) ((unsigned long long int) ((long long int) (pc->time_zone)) + (unsigned long long int) ((long long int) ((yyvsp[-2]. intval))))), 1) : (*(&pc->time_zone) = ((long long int) ((unsigned long long int) ((long long int) (pc->time_zone)) + (unsigned long long int) ((long long int) ((yyvsp[-2]. intval))))), 0)) : ((__builtin_add_overflow_p (pc->time_zone, (yyvsp[-2]. intval), (__typeof__ ((pc->time_zone) + ((yyvsp[-2]. intval)))) 0) || (((0 * ((pc->time_zone) + ((yyvsp[-2]. intval))) - (1)) < 0) && ((pc->time_zone) + ((yyvsp[-2]. intval))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((pc->time_zone) + ((yyvsp[-2]. intval)))) ? (*(&pc->time_zone) = ((long long int) ((unsigned long long int) (pc->time_zone) + (unsigned long long int) ((yyvsp[-2]. intval)))), 1) : (*(&pc->time_zone) = ((long long int) ((unsigned long long int) (pc->time_zone) + (unsigned long long int) ((yyvsp[-2]. intval)))), 0)))))) goto yyabortlab; } # 2101 "parse-datetime.c" break; case 35: # 772 "parse-datetime.y" { pc->time_zone = (yyvsp[0].intval) + 60 * 60; } # 2107 "parse-datetime.c" break; case 36: # 774 "parse-datetime.y" { pc->time_zone = (yyvsp[-1].intval) + 60 * 60; } # 2113 "parse-datetime.c" break; case 37: # 779 "parse-datetime.y" { pc->day_ordinal = 0; pc->day_number = (yyvsp[0].intval); } # 2122 "parse-datetime.c" break; case 38: # 784 "parse-datetime.y" { pc->day_ordinal = 0; pc->day_number = (yyvsp[-1].intval); } # 2131 "parse-datetime.c" break; case 39: # 789 "parse-datetime.y" { pc->day_ordinal = (yyvsp[-1].intval); pc->day_number = (yyvsp[0].intval); pc->debug_ordinal_day_seen = 1; } # 2141 "parse-datetime.c" break; case 40: # 795 "parse-datetime.y" { pc->day_ordinal = (yyvsp[-1].textintval).value; pc->day_number = (yyvsp[0].intval); pc->debug_ordinal_day_seen = 1; } # 2151 "parse-datetime.c" break; case 41: # 804 "parse-datetime.y" { pc->month = (yyvsp[-2].textintval).value; pc->day = (yyvsp[0].textintval).value; } # 2160 "parse-datetime.c" break; case 42: # 809 "parse-datetime.y" { if (4 <= (yyvsp[-4].textintval).digits) { if (pc->parse_datetime_debug) { intmax_t digits = (yyvsp[-4].textintval).digits; dbg_printf (gettext ("warning: value %" "ll" "d" " has %" "ll" "d" " digits. " "Assuming YYYY/MM/DD\n"), (yyvsp[-4].textintval).value, digits); } pc->year = (yyvsp[-4].textintval); pc->month = (yyvsp[-2].textintval).value; pc->day = (yyvsp[0].textintval).value; } else { if (pc->parse_datetime_debug) dbg_printf (gettext ("warning: value %" "ll" "d" " has less than 4 digits. " "Assuming MM/DD/YY[YY]\n"), (yyvsp[-4].textintval).value); pc->month = (yyvsp[-4].textintval).value; pc->day = (yyvsp[-2].textintval).value; pc->year = (yyvsp[0].textintval); } } # 2197 "parse-datetime.c" break; case 43: # 842 "parse-datetime.y" { pc->day = (yyvsp[-2].textintval).value; pc->month = (yyvsp[-1].intval); if ((sizeof *(&pc->year . value) == sizeof (signed char) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (0), (signed char) ((yyvsp[0]. textintval). value), (__typeof__ (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value))) < ((-127-1))) || (127) < (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-127-1))) || (127) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : sizeof *(&pc->year . value) == sizeof (short int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (0), (short int) ((yyvsp[0]. textintval). value), (__typeof__ (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value))) < ((-32767 -1))) || (32767) < (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-32767 -1))) || (32767) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : sizeof *(&pc->year . value) == sizeof (int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (0), (int) ((yyvsp[0]. textintval). value), (__typeof__ (((int) (0)) - ((int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((int) (0)) - ((int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((int) (0)) - ((int) ((yyvsp[0]. textintval). value))) < ((-2147483647 -1))) || (2147483647) < (((int) (0)) - ((int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-2147483647 -1))) || (2147483647) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : (sizeof *(&pc->year . value) == sizeof (long int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (0), (long int) ((yyvsp[0]. textintval). value), (__typeof__ (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-2147483647 -1L))) || (2147483647) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[0]. textintval). value))), 0))) : (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (0), (long long int) ((yyvsp[0]. textintval). value), (__typeof__ (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[0]. textintval). value))), 0)))))) goto yyabortlab; pc->year.digits = (yyvsp[0].textintval).digits; } # 2209 "parse-datetime.c" break; case 44: # 850 "parse-datetime.y" { pc->month = (yyvsp[-2].intval); if ((sizeof *(&pc->day) == sizeof (signed char) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (0), (signed char) ((yyvsp[-1]. textintval). value), (__typeof__ (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value))) < ((-127-1))) || (127) < (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->day) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->day) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-127-1))) || (127) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->day) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->day) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 0))) : sizeof *(&pc->day) == sizeof (short int) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (0), (short int) ((yyvsp[-1]. textintval). value), (__typeof__ (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value))) < ((-32767 -1))) || (32767) < (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->day) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->day) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-32767 -1))) || (32767) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->day) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->day) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 0))) : sizeof *(&pc->day) == sizeof (int) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (0), (int) ((yyvsp[-1]. textintval). value), (__typeof__ (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value))) < ((-2147483647 -1))) || (2147483647) < (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->day) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->day) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-2147483647 -1))) || (2147483647) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->day) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->day) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 0))) : (sizeof *(&pc->day) == sizeof (long int) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (0), (long int) ((yyvsp[-1]. textintval). value), (__typeof__ (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->day) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->day) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-2147483647 -1L))) || (2147483647) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->day) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->day) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[-1]. textintval). value))), 0))) : (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (0), (long long int) ((yyvsp[-1]. textintval). value), (__typeof__ (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->day) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->day) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->day) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->day) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[-1]. textintval). value))), 0)))))) goto yyabortlab; if ((sizeof *(&pc->year . value) == sizeof (signed char) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (0), (signed char) ((yyvsp[0]. textintval). value), (__typeof__ (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value))) < ((-127-1))) || (127) < (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-127-1))) || (127) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : sizeof *(&pc->year . value) == sizeof (short int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (0), (short int) ((yyvsp[0]. textintval). value), (__typeof__ (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value))) < ((-32767 -1))) || (32767) < (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-32767 -1))) || (32767) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : sizeof *(&pc->year . value) == sizeof (int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (0), (int) ((yyvsp[0]. textintval). value), (__typeof__ (((int) (0)) - ((int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((int) (0)) - ((int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((int) (0)) - ((int) ((yyvsp[0]. textintval). value))) < ((-2147483647 -1))) || (2147483647) < (((int) (0)) - ((int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-2147483647 -1))) || (2147483647) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : (sizeof *(&pc->year . value) == sizeof (long int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (0), (long int) ((yyvsp[0]. textintval). value), (__typeof__ (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-2147483647 -1L))) || (2147483647) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[0]. textintval). value))), 0))) : (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (0), (long long int) ((yyvsp[0]. textintval). value), (__typeof__ (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->year . value) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->year . value) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->year . value) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->year . value) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[0]. textintval). value))), 0)))))) goto yyabortlab; pc->year.digits = (yyvsp[0].textintval).digits; } # 2221 "parse-datetime.c" break; case 45: # 858 "parse-datetime.y" { pc->month = (yyvsp[-1].intval); pc->day = (yyvsp[0].textintval).value; } # 2230 "parse-datetime.c" break; case 46: # 863 "parse-datetime.y" { pc->month = (yyvsp[-3].intval); pc->day = (yyvsp[-2].textintval).value; pc->year = (yyvsp[0].textintval); } # 2240 "parse-datetime.c" break; case 47: # 869 "parse-datetime.y" { pc->day = (yyvsp[-1].textintval).value; pc->month = (yyvsp[0].intval); } # 2249 "parse-datetime.c" break; case 48: # 874 "parse-datetime.y" { pc->day = (yyvsp[-2].textintval).value; pc->month = (yyvsp[-1].intval); pc->year = (yyvsp[0].textintval); } # 2259 "parse-datetime.c" break; case 50: # 884 "parse-datetime.y" { pc->year = (yyvsp[-2].textintval); if ((sizeof *(&pc->month) == sizeof (signed char) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (0), (signed char) ((yyvsp[-1]. textintval). value), (__typeof__ (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value))) < ((-127-1))) || (127) < (((signed char) (0)) - ((signed char) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->month) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->month) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-127-1))) || (127) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->month) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->month) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 0))) : sizeof *(&pc->month) == sizeof (short int) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (0), (short int) ((yyvsp[-1]. textintval). value), (__typeof__ (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value))) < ((-32767 -1))) || (32767) < (((short int) (0)) - ((short int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->month) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->month) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-32767 -1))) || (32767) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->month) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->month) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 0))) : sizeof *(&pc->month) == sizeof (int) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (0), (int) ((yyvsp[-1]. textintval). value), (__typeof__ (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value))) < ((-2147483647 -1))) || (2147483647) < (((int) (0)) - ((int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->month) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->month) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-2147483647 -1))) || (2147483647) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->month) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->month) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[-1]. textintval). value))), 0))) : (sizeof *(&pc->month) == sizeof (long int) ? (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (0), (long int) ((yyvsp[-1]. textintval). value), (__typeof__ (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (0)) - ((long int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->month) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->month) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-2147483647 -1L))) || (2147483647) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->month) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->month) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[-1]. textintval). value))), 0))) : (sizeof ((0) - ((yyvsp[-1]. textintval). value)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (0), (long long int) ((yyvsp[-1]. textintval). value), (__typeof__ (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value)))) 0) || (((0 * (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value))) - (1)) < 0) && (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (0)) - ((long long int) ((yyvsp[-1]. textintval). value)))) ? (*(&pc->month) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)))), 1) : (*(&pc->month) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[-1]. textintval). value, (__typeof__ ((0) - ((yyvsp[-1]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[-1]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[-1]. textintval). value)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((0) - ((yyvsp[-1]. textintval). value))) ? (*(&pc->month) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[-1]. textintval). value))), 1) : (*(&pc->month) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[-1]. textintval). value))), 0)))))) goto yyabortlab; if ((sizeof *(&pc->day) == sizeof (signed char) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (0), (signed char) ((yyvsp[0]. textintval). value), (__typeof__ (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value))) < ((-127-1))) || (127) < (((signed char) (0)) - ((signed char) ((yyvsp[0]. textintval). value)))) ? (*(&pc->day) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->day) = ((signed char) ((unsigned int) ((signed char) (0)) - (unsigned int) ((signed char) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-127-1))) || (127) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->day) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->day) = ((signed char) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : sizeof *(&pc->day) == sizeof (short int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (0), (short int) ((yyvsp[0]. textintval). value), (__typeof__ (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value))) < ((-32767 -1))) || (32767) < (((short int) (0)) - ((short int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->day) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->day) = ((short int) ((unsigned int) ((short int) (0)) - (unsigned int) ((short int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-32767 -1))) || (32767) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->day) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->day) = ((short int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : sizeof *(&pc->day) == sizeof (int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (0), (int) ((yyvsp[0]. textintval). value), (__typeof__ (((int) (0)) - ((int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((int) (0)) - ((int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((int) (0)) - ((int) ((yyvsp[0]. textintval). value))) < ((-2147483647 -1))) || (2147483647) < (((int) (0)) - ((int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->day) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->day) = ((int) ((unsigned int) ((int) (0)) - (unsigned int) ((int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-2147483647 -1))) || (2147483647) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->day) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->day) = ((int) ((unsigned int) (0) - (unsigned int) ((yyvsp[0]. textintval). value))), 0))) : (sizeof *(&pc->day) == sizeof (long int) ? (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (0), (long int) ((yyvsp[0]. textintval). value), (__typeof__ (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (0)) - ((long int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->day) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->day) = ((long int) ((unsigned long int) ((long int) (0)) - (unsigned long int) ((long int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-2147483647 -1L))) || (2147483647) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->day) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->day) = ((long int) ((unsigned long int) (0) - (unsigned long int) ((yyvsp[0]. textintval). value))), 0))) : (sizeof ((0) - ((yyvsp[0]. textintval). value)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (0), (long long int) ((yyvsp[0]. textintval). value), (__typeof__ (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value)))) 0) || (((0 * (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value))) - (1)) < 0) && (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (0)) - ((long long int) ((yyvsp[0]. textintval). value)))) ? (*(&pc->day) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[0]. textintval). value)))), 1) : (*(&pc->day) = ((long long int) ((unsigned long long int) ((long long int) (0)) - (unsigned long long int) ((long long int) ((yyvsp[0]. textintval). value)))), 0)) : ((__builtin_sub_overflow_p (0, (yyvsp[0]. textintval). value, (__typeof__ ((0) - ((yyvsp[0]. textintval). value))) 0) || (((0 * ((0) - ((yyvsp[0]. textintval). value)) - (1)) < 0) && ((0) - ((yyvsp[0]. textintval). value)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((0) - ((yyvsp[0]. textintval). value))) ? (*(&pc->day) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[0]. textintval). value))), 1) : (*(&pc->day) = ((long long int) ((unsigned long long int) (0) - (unsigned long long int) ((yyvsp[0]. textintval). value))), 0)))))) goto yyabortlab; } # 2270 "parse-datetime.c" break; case 51: # 894 "parse-datetime.y" { if (! apply_relative_time (pc, (yyvsp[-1].rel), (yyvsp[0].intval))) goto yyabortlab; } # 2276 "parse-datetime.c" break; case 52: # 896 "parse-datetime.y" { if (! apply_relative_time (pc, (yyvsp[0].rel), 1)) goto yyabortlab; } # 2282 "parse-datetime.c" break; case 53: # 898 "parse-datetime.y" { if (! apply_relative_time (pc, (yyvsp[0].rel), 1)) goto yyabortlab; } # 2288 "parse-datetime.c" break; case 54: # 903 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).year = (yyvsp[-1].intval); } # 2294 "parse-datetime.c" break; case 55: # 905 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).year = (yyvsp[-1].textintval).value; } # 2300 "parse-datetime.c" break; case 56: # 907 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).year = 1; } # 2306 "parse-datetime.c" break; case 57: # 909 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).month = (yyvsp[-1].intval); } # 2312 "parse-datetime.c" break; case 58: # 911 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).month = (yyvsp[-1].textintval).value; } # 2318 "parse-datetime.c" break; case 59: # 913 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).month = 1; } # 2324 "parse-datetime.c" break; case 60: # 915 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); if ((sizeof *(&(yyval . rel). day) == sizeof (signed char) ? (sizeof (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) ((yyvsp[-1]. intval)), (signed char) ((yyvsp[0]. intval)), (__typeof__ (((signed char) ((yyvsp[-1]. intval))) * ((signed char) ((yyvsp[0]. intval))))) 0) || (((0 * (((signed char) ((yyvsp[-1]. intval))) * ((signed char) ((yyvsp[0]. intval)))) - (1)) < 0) && (((signed char) ((yyvsp[-1]. intval))) * ((signed char) ((yyvsp[0]. intval)))) < ((-127-1))) || (127) < (((signed char) ((yyvsp[-1]. intval))) * ((signed char) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((signed char) ((yyvsp[-1]. intval))) * (unsigned int) ((signed char) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((signed char) ((yyvsp[-1]. intval))) * (unsigned int) ((signed char) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. intval), (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < ((-127-1))) || (127) < (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((yyvsp[-1]. intval)) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((yyvsp[-1]. intval)) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : sizeof *(&(yyval . rel). day) == sizeof (short int) ? (sizeof (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) ((yyvsp[-1]. intval)), (short int) ((yyvsp[0]. intval)), (__typeof__ (((short int) ((yyvsp[-1]. intval))) * ((short int) ((yyvsp[0]. intval))))) 0) || (((0 * (((short int) ((yyvsp[-1]. intval))) * ((short int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((short int) ((yyvsp[-1]. intval))) * ((short int) ((yyvsp[0]. intval)))) < ((-32767 -1))) || (32767) < (((short int) ((yyvsp[-1]. intval))) * ((short int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((short int) ((yyvsp[-1]. intval))) * (unsigned int) ((short int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((short int) ((yyvsp[-1]. intval))) * (unsigned int) ((short int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. intval), (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < ((-32767 -1))) || (32767) < (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((yyvsp[-1]. intval)) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((yyvsp[-1]. intval)) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : sizeof *(&(yyval . rel). day) == sizeof (int) ? (sizeof (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) ((yyvsp[-1]. intval)), (int) ((yyvsp[0]. intval)), (__typeof__ (((int) ((yyvsp[-1]. intval))) * ((int) ((yyvsp[0]. intval))))) 0) || (((0 * (((int) ((yyvsp[-1]. intval))) * ((int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((int) ((yyvsp[-1]. intval))) * ((int) ((yyvsp[0]. intval)))) < ((-2147483647 -1))) || (2147483647) < (((int) ((yyvsp[-1]. intval))) * ((int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((int) ((unsigned int) ((int) ((yyvsp[-1]. intval))) * (unsigned int) ((int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((int) ((unsigned int) ((int) ((yyvsp[-1]. intval))) * (unsigned int) ((int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. intval), (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < ((-2147483647 -1))) || (2147483647) < (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((int) ((unsigned int) ((yyvsp[-1]. intval)) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((int) ((unsigned int) ((yyvsp[-1]. intval)) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : (sizeof *(&(yyval . rel). day) == sizeof (long int) ? (sizeof (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) ((yyvsp[-1]. intval)), (long int) ((yyvsp[0]. intval)), (__typeof__ (((long int) ((yyvsp[-1]. intval))) * ((long int) ((yyvsp[0]. intval))))) 0) || (((0 * (((long int) ((yyvsp[-1]. intval))) * ((long int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((long int) ((yyvsp[-1]. intval))) * ((long int) ((yyvsp[0]. intval)))) < ((-2147483647 -1L))) || (2147483647) < (((long int) ((yyvsp[-1]. intval))) * ((long int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((long int) ((yyvsp[-1]. intval))) * (unsigned long int) ((long int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((long int) ((yyvsp[-1]. intval))) * (unsigned long int) ((long int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. intval), (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < ((-2147483647 -1L))) || (2147483647) < (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((yyvsp[-1]. intval)) * (unsigned long int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((yyvsp[-1]. intval)) * (unsigned long int) ((yyvsp[0]. intval)))), 0))) : (sizeof (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) ((yyvsp[-1]. intval)), (long long int) ((yyvsp[0]. intval)), (__typeof__ (((long long int) ((yyvsp[-1]. intval))) * ((long long int) ((yyvsp[0]. intval))))) 0) || (((0 * (((long long int) ((yyvsp[-1]. intval))) * ((long long int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((long long int) ((yyvsp[-1]. intval))) * ((long long int) ((yyvsp[0]. intval)))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) ((yyvsp[-1]. intval))) * ((long long int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((long long int) ((yyvsp[-1]. intval))) * (unsigned long long int) ((long long int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((long long int) ((yyvsp[-1]. intval))) * (unsigned long long int) ((long long int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. intval), (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((yyvsp[-1]. intval)) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((yyvsp[-1]. intval)) * (unsigned long long int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((yyvsp[-1]. intval)) * (unsigned long long int) ((yyvsp[0]. intval)))), 0)))))) goto yyabortlab; } # 2331 "parse-datetime.c" break; case 61: # 918 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); if ((sizeof *(&(yyval . rel). day) == sizeof (signed char) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) ((yyvsp[-1]. textintval). value), (signed char) ((yyvsp[0]. intval)), (__typeof__ (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval))))) 0) || (((0 * (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval)))) - (1)) < 0) && (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval)))) < ((-127-1))) || (127) < (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((signed char) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((signed char) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-127-1))) || (127) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : sizeof *(&(yyval . rel). day) == sizeof (short int) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) ((yyvsp[-1]. textintval). value), (short int) ((yyvsp[0]. intval)), (__typeof__ (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval))))) 0) || (((0 * (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval)))) < ((-32767 -1))) || (32767) < (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((short int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((short int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((short int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((short int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-32767 -1))) || (32767) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : sizeof *(&(yyval . rel). day) == sizeof (int) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) ((yyvsp[-1]. textintval). value), (int) ((yyvsp[0]. intval)), (__typeof__ (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval))))) 0) || (((0 * (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval)))) < ((-2147483647 -1))) || (2147483647) < (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((int) ((unsigned int) ((int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((int) ((unsigned int) ((int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-2147483647 -1))) || (2147483647) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : (sizeof *(&(yyval . rel). day) == sizeof (long int) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) ((yyvsp[-1]. textintval). value), (long int) ((yyvsp[0]. intval)), (__typeof__ (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval))))) 0) || (((0 * (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval)))) < ((-2147483647 -1L))) || (2147483647) < (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)) * (unsigned long int) ((long int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)) * (unsigned long int) ((long int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-2147483647 -1L))) || (2147483647) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((yyvsp[-1]. textintval). value) * (unsigned long int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((yyvsp[-1]. textintval). value) * (unsigned long int) ((yyvsp[0]. intval)))), 0))) : (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) ((yyvsp[-1]. textintval). value), (long long int) ((yyvsp[0]. intval)), (__typeof__ (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval))))) 0) || (((0 * (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval)))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)) * (unsigned long long int) ((long long int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)) * (unsigned long long int) ((long long int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((yyvsp[-1]. textintval). value) * (unsigned long long int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((yyvsp[-1]. textintval). value) * (unsigned long long int) ((yyvsp[0]. intval)))), 0)))))) goto yyabortlab; } # 2338 "parse-datetime.c" break; case 62: # 921 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).day = (yyvsp[0].intval); } # 2344 "parse-datetime.c" break; case 63: # 923 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).hour = (yyvsp[-1].intval); } # 2350 "parse-datetime.c" break; case 64: # 925 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).hour = (yyvsp[-1].textintval).value; } # 2356 "parse-datetime.c" break; case 65: # 927 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).hour = 1; } # 2362 "parse-datetime.c" break; case 66: # 929 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).minutes = (yyvsp[-1].intval); } # 2368 "parse-datetime.c" break; case 67: # 931 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).minutes = (yyvsp[-1].textintval).value; } # 2374 "parse-datetime.c" break; case 68: # 933 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).minutes = 1; } # 2380 "parse-datetime.c" break; case 69: # 935 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).seconds = (yyvsp[-1].intval); } # 2386 "parse-datetime.c" break; case 70: # 937 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).seconds = (yyvsp[-1].textintval).value; } # 2392 "parse-datetime.c" break; case 71: # 939 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).seconds = (yyvsp[-1].timespec).tv_sec; (yyval.rel).ns = (yyvsp[-1].timespec).tv_nsec; } # 2398 "parse-datetime.c" break; case 72: # 941 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).seconds = (yyvsp[-1].timespec).tv_sec; (yyval.rel).ns = (yyvsp[-1].timespec).tv_nsec; } # 2404 "parse-datetime.c" break; case 73: # 943 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).seconds = 1; } # 2410 "parse-datetime.c" break; case 75: # 949 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).year = (yyvsp[-1].textintval).value; } # 2416 "parse-datetime.c" break; case 76: # 951 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).month = (yyvsp[-1].textintval).value; } # 2422 "parse-datetime.c" break; case 77: # 953 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); if ((sizeof *(&(yyval . rel). day) == sizeof (signed char) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) ((yyvsp[-1]. textintval). value), (signed char) ((yyvsp[0]. intval)), (__typeof__ (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval))))) 0) || (((0 * (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval)))) - (1)) < 0) && (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval)))) < ((-127-1))) || (127) < (((signed char) ((yyvsp[-1]. textintval). value)) * ((signed char) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((signed char) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((signed char) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((signed char) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-127-1))) || (127) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((signed char) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : sizeof *(&(yyval . rel). day) == sizeof (short int) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) ((yyvsp[-1]. textintval). value), (short int) ((yyvsp[0]. intval)), (__typeof__ (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval))))) 0) || (((0 * (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval)))) < ((-32767 -1))) || (32767) < (((short int) ((yyvsp[-1]. textintval). value)) * ((short int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((short int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((short int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((short int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((short int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-32767 -1))) || (32767) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((short int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : sizeof *(&(yyval . rel). day) == sizeof (int) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) ((yyvsp[-1]. textintval). value), (int) ((yyvsp[0]. intval)), (__typeof__ (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval))))) 0) || (((0 * (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval)))) < ((-2147483647 -1))) || (2147483647) < (((int) ((yyvsp[-1]. textintval). value)) * ((int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((int) ((unsigned int) ((int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((int) ((unsigned int) ((int) ((yyvsp[-1]. textintval). value)) * (unsigned int) ((int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-2147483647 -1))) || (2147483647) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((int) ((unsigned int) ((yyvsp[-1]. textintval). value) * (unsigned int) ((yyvsp[0]. intval)))), 0))) : (sizeof *(&(yyval . rel). day) == sizeof (long int) ? (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) ((yyvsp[-1]. textintval). value), (long int) ((yyvsp[0]. intval)), (__typeof__ (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval))))) 0) || (((0 * (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval)))) < ((-2147483647 -1L))) || (2147483647) < (((long int) ((yyvsp[-1]. textintval). value)) * ((long int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)) * (unsigned long int) ((long int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((long int) ((yyvsp[-1]. textintval). value)) * (unsigned long int) ((long int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-2147483647 -1L))) || (2147483647) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((yyvsp[-1]. textintval). value) * (unsigned long int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((long int) ((unsigned long int) ((yyvsp[-1]. textintval). value) * (unsigned long int) ((yyvsp[0]. intval)))), 0))) : (sizeof (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) ((yyvsp[-1]. textintval). value), (long long int) ((yyvsp[0]. intval)), (__typeof__ (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval))))) 0) || (((0 * (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval)))) - (1)) < 0) && (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval)))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) ((yyvsp[-1]. textintval). value)) * ((long long int) ((yyvsp[0]. intval))))) ? (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)) * (unsigned long long int) ((long long int) ((yyvsp[0]. intval))))), 1) : (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((long long int) ((yyvsp[-1]. textintval). value)) * (unsigned long long int) ((long long int) ((yyvsp[0]. intval))))), 0)) : ((__builtin_mul_overflow_p ((yyvsp[-1]. textintval). value, (yyvsp[0]. intval), (__typeof__ (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) 0) || (((0 * (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) - (1)) < 0) && (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((yyvsp[-1]. textintval). value) * ((yyvsp[0]. intval)))) ? (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((yyvsp[-1]. textintval). value) * (unsigned long long int) ((yyvsp[0]. intval)))), 1) : (*(&(yyval . rel). day) = ((long long int) ((unsigned long long int) ((yyvsp[-1]. textintval). value) * (unsigned long long int) ((yyvsp[0]. intval)))), 0)))))) goto yyabortlab; } # 2429 "parse-datetime.c" break; case 78: # 956 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).hour = (yyvsp[-1].textintval).value; } # 2435 "parse-datetime.c" break; case 79: # 958 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).minutes = (yyvsp[-1].textintval).value; } # 2441 "parse-datetime.c" break; case 80: # 960 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).seconds = (yyvsp[-1].textintval).value; } # 2447 "parse-datetime.c" break; case 81: # 965 "parse-datetime.y" { (yyval.rel) = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); (yyval.rel).day = (yyvsp[0].intval); } # 2453 "parse-datetime.c" break; case 85: # 973 "parse-datetime.y" { if (time_overflow ((yyvsp[0].textintval).value)) goto yyabortlab; (yyval.timespec).tv_sec = (yyvsp[0].textintval).value; (yyval.timespec).tv_nsec = 0; } # 2460 "parse-datetime.c" break; case 87: # 980 "parse-datetime.y" { if (time_overflow ((yyvsp[0].textintval).value)) goto yyabortlab; (yyval.timespec).tv_sec = (yyvsp[0].textintval).value; (yyval.timespec).tv_nsec = 0; } # 2467 "parse-datetime.c" break; case 88: # 986 "parse-datetime.y" { digits_to_date_time (pc, (yyvsp[0].textintval)); } # 2473 "parse-datetime.c" break; case 89: # 991 "parse-datetime.y" { digits_to_date_time (pc, (yyvsp[-1].textintval)); if (! apply_relative_time (pc, (yyvsp[0].rel), 1)) goto yyabortlab; } # 2484 "parse-datetime.c" break; case 90: # 1001 "parse-datetime.y" { (yyval.intval) = -1; } # 2490 "parse-datetime.c" break; case 91: # 1003 "parse-datetime.y" { (yyval.intval) = (yyvsp[0].textintval).value; } # 2496 "parse-datetime.c" break; # 2500 "parse-datetime.c" default: break; } ; (yyvsp -= (yylen), yyssp -= (yylen)); yylen = 0; ; *++yyvsp = yyval; yyn = yyr1[yyn]; yystate = yypgoto[yyn - 28] + *yyssp; if (0 <= yystate && yystate <= 112 && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - 28]; goto yynewstate; yyerrlab: yytoken = yychar == (-2) ? (-2) : ((unsigned int) (yychar) <= 277 ? yytranslate[yychar] : 2); if (!yyerrstatus) { ++yynerrs; yyerror (pc, "syntax error"); # 2582 "parse-datetime.c" } if (yyerrstatus == 3) { if (yychar <= 0) { if (yychar == 0) goto yyabortlab; } else { yydestruct ("Error: discarding", yytoken, &yylval, pc); yychar = (-2); } } goto yyerrlab1; yyerrorlab: if ( 0) goto yyerrorlab; (yyvsp -= (yylen), yyssp -= (yylen)); yylen = 0; ; yystate = *yyssp; goto yyerrlab1; yyerrlab1: yyerrstatus = 3; for (;;) { yyn = yypact[yystate]; if (!(! !((yyn) == (-93)))) { yyn += 1; if (0 <= yyn && yyn <= 112 && yycheck[yyn] == 1) { yyn = yytable[yyn]; if (0 < yyn) break; } } if (yyssp == yyss) goto yyabortlab; yydestruct ("Error: popping", yystos[yystate], yyvsp, pc); (yyvsp -= (1), yyssp -= (1)); yystate = *yyssp; ; } _Pragma ("GCC diagnostic push") _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") *++yyvsp = yylval; _Pragma ("GCC diagnostic pop") ; yystate = yyn; goto yynewstate; yyacceptlab: yyresult = 0; goto yyreturn; yyabortlab: yyresult = 1; goto yyreturn; yyexhaustedlab: yyerror (pc, "memory exhausted"); yyresult = 2; yyreturn: if (yychar != (-2)) { yytoken = ((unsigned int) (yychar) <= 277 ? yytranslate[yychar] : 2); yydestruct ("Cleanup: discarding lookahead", yytoken, &yylval, pc); } (yyvsp -= (yylen), yyssp -= (yylen)); ; while (yyssp != yyss) { yydestruct ("Cleanup: popping", yystos[*yyssp], yyvsp, pc); (yyvsp -= (1), yyssp -= (1)); } if (yyss != yyssa) free (yyss); return yyresult; } # 1006 "parse-datetime.y" static table const meridian_table[] = { { "AM", 270, MERam }, { "A.M.", 270, MERam }, { "PM", 270, MERpm }, { "P.M.", 270, MERpm }, { ((void*)0), 0, 0 } }; static table const dst_table[] = { { "DST", 259, 0 } }; static table const month_and_day_table[] = { { "JANUARY", 271, 1 }, { "FEBRUARY", 271, 2 }, { "MARCH", 271, 3 }, { "APRIL", 271, 4 }, { "MAY", 271, 5 }, { "JUNE", 271, 6 }, { "JULY", 271, 7 }, { "AUGUST", 271, 8 }, { "SEPTEMBER",271, 9 }, { "SEPT", 271, 9 }, { "OCTOBER", 271, 10 }, { "NOVEMBER", 271, 11 }, { "DECEMBER", 271, 12 }, { "SUNDAY", 267, 0 }, { "MONDAY", 267, 1 }, { "TUESDAY", 267, 2 }, { "TUES", 267, 2 }, { "WEDNESDAY",267, 3 }, { "WEDNES", 267, 3 }, { "THURSDAY", 267, 4 }, { "THUR", 267, 4 }, { "THURS", 267, 4 }, { "FRIDAY", 267, 5 }, { "SATURDAY", 267, 6 }, { ((void*)0), 0, 0 } }; static table const time_units_table[] = { { "YEAR", 260, 1 }, { "MONTH", 261, 1 }, { "FORTNIGHT",265, 14 }, { "WEEK", 265, 7 }, { "DAY", 265, 1 }, { "HOUR", 262, 1 }, { "MINUTE", 263, 1 }, { "MIN", 263, 1 }, { "SECOND", 264, 1 }, { "SEC", 264, 1 }, { ((void*)0), 0, 0 } }; static table const relative_time_table[] = { { "TOMORROW", 266, 1 }, { "YESTERDAY",266, -1 }, { "TODAY", 266, 0 }, { "NOW", 266, 0 }, { "LAST", 272, -1 }, { "THIS", 272, 0 }, { "NEXT", 272, 1 }, { "FIRST", 272, 1 }, { "THIRD", 272, 3 }, { "FOURTH", 272, 4 }, { "FIFTH", 272, 5 }, { "SIXTH", 272, 6 }, { "SEVENTH", 272, 7 }, { "EIGHTH", 272, 8 }, { "NINTH", 272, 9 }, { "TENTH", 272, 10 }, { "ELEVENTH", 272, 11 }, { "TWELFTH", 272, 12 }, { "AGO", 258, -1 }, { "HENCE", 258, 1 }, { ((void*)0), 0, 0 } }; static table const universal_time_zone_table[] = { { "GMT", 273, (60 * 60 * (0)) }, { "UT", 273, (60 * 60 * (0)) }, { "UTC", 273, (60 * 60 * (0)) }, { ((void*)0), 0, 0 } }; static table const time_zone_table[] = { { "WET", 273, (60 * 60 * (0)) }, { "WEST", 268, (60 * 60 * (0)) }, { "BST", 268, (60 * 60 * (0)) }, { "ART", 273, -(60 * 60 * (3)) }, { "BRT", 273, -(60 * 60 * (3)) }, { "BRST", 268, -(60 * 60 * (3)) }, { "NST", 273, -((60 * 60 * (3)) + 30 * 60) }, { "NDT", 268,-((60 * 60 * (3)) + 30 * 60) }, { "AST", 273, -(60 * 60 * (4)) }, { "ADT", 268, -(60 * 60 * (4)) }, { "CLT", 273, -(60 * 60 * (4)) }, { "CLST", 268, -(60 * 60 * (4)) }, { "EST", 273, -(60 * 60 * (5)) }, { "EDT", 268, -(60 * 60 * (5)) }, { "CST", 273, -(60 * 60 * (6)) }, { "CDT", 268, -(60 * 60 * (6)) }, { "MST", 273, -(60 * 60 * (7)) }, { "MDT", 268, -(60 * 60 * (7)) }, { "PST", 273, -(60 * 60 * (8)) }, { "PDT", 268, -(60 * 60 * (8)) }, { "AKST", 273, -(60 * 60 * (9)) }, { "AKDT", 268, -(60 * 60 * (9)) }, { "HST", 273, -(60 * 60 * (10)) }, { "HAST", 273, -(60 * 60 * (10)) }, { "HADT", 268, -(60 * 60 * (10)) }, { "SST", 273, -(60 * 60 * (12)) }, { "WAT", 273, (60 * 60 * (1)) }, { "CET", 273, (60 * 60 * (1)) }, { "CEST", 268, (60 * 60 * (1)) }, { "MET", 273, (60 * 60 * (1)) }, { "MEZ", 273, (60 * 60 * (1)) }, { "MEST", 268, (60 * 60 * (1)) }, { "MESZ", 268, (60 * 60 * (1)) }, { "EET", 273, (60 * 60 * (2)) }, { "EEST", 268, (60 * 60 * (2)) }, { "CAT", 273, (60 * 60 * (2)) }, { "SAST", 273, (60 * 60 * (2)) }, { "EAT", 273, (60 * 60 * (3)) }, { "MSK", 273, (60 * 60 * (3)) }, { "MSD", 268, (60 * 60 * (3)) }, { "IST", 273, ((60 * 60 * (5)) + 30 * 60) }, { "SGT", 273, (60 * 60 * (8)) }, { "KST", 273, (60 * 60 * (9)) }, { "JST", 273, (60 * 60 * (9)) }, { "GST", 273, (60 * 60 * (10)) }, { "NZST", 273, (60 * 60 * (12)) }, { "NZDT", 268, (60 * 60 * (12)) }, { ((void*)0), 0, 0 } }; static table const military_table[] = { { "A", 273, -(60 * 60 * (1)) }, { "B", 273, -(60 * 60 * (2)) }, { "C", 273, -(60 * 60 * (3)) }, { "D", 273, -(60 * 60 * (4)) }, { "E", 273, -(60 * 60 * (5)) }, { "F", 273, -(60 * 60 * (6)) }, { "G", 273, -(60 * 60 * (7)) }, { "H", 273, -(60 * 60 * (8)) }, { "I", 273, -(60 * 60 * (9)) }, { "K", 273, -(60 * 60 * (10)) }, { "L", 273, -(60 * 60 * (11)) }, { "M", 273, -(60 * 60 * (12)) }, { "N", 273, (60 * 60 * (1)) }, { "O", 273, (60 * 60 * (2)) }, { "P", 273, (60 * 60 * (3)) }, { "Q", 273, (60 * 60 * (4)) }, { "R", 273, (60 * 60 * (5)) }, { "S", 273, (60 * 60 * (6)) }, { "T", 'T', 0 }, { "U", 273, (60 * 60 * (8)) }, { "V", 273, (60 * 60 * (9)) }, { "W", 273, (60 * 60 * (10)) }, { "X", 273, (60 * 60 * (11)) }, { "Y", 273, (60 * 60 * (12)) }, { "Z", 273, (60 * 60 * (0)) }, { ((void*)0), 0, 0 } }; static _Bool time_zone_hhmm (parser_control *pc, textint s, intmax_t mm) { intmax_t n_minutes; _Bool overflow = 0; if (s.digits <= 2 && mm < 0) s.value *= 100; if (mm < 0) n_minutes = (s.value / 100) * 60 + s.value % 100; else { overflow |= (sizeof *(&n_minutes) == sizeof (signed char) ? (sizeof ((s . value) * (60)) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) (s . value), (signed char) (60), (__typeof__ (((signed char) (s . value)) * ((signed char) (60)))) 0) || (((0 * (((signed char) (s . value)) * ((signed char) (60))) - (1)) < 0) && (((signed char) (s . value)) * ((signed char) (60))) < ((-127-1))) || (127) < (((signed char) (s . value)) * ((signed char) (60)))) ? (*(&n_minutes) = ((signed char) ((unsigned int) ((signed char) (s . value)) * (unsigned int) ((signed char) (60)))), 1) : (*(&n_minutes) = ((signed char) ((unsigned int) ((signed char) (s . value)) * (unsigned int) ((signed char) (60)))), 0)) : ((__builtin_mul_overflow_p (s . value, 60, (__typeof__ ((s . value) * (60))) 0) || (((0 * ((s . value) * (60)) - (1)) < 0) && ((s . value) * (60)) < ((-127-1))) || (127) < ((s . value) * (60))) ? (*(&n_minutes) = ((signed char) ((unsigned int) (s . value) * (unsigned int) (60))), 1) : (*(&n_minutes) = ((signed char) ((unsigned int) (s . value) * (unsigned int) (60))), 0))) : sizeof *(&n_minutes) == sizeof (short int) ? (sizeof ((s . value) * (60)) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) (s . value), (short int) (60), (__typeof__ (((short int) (s . value)) * ((short int) (60)))) 0) || (((0 * (((short int) (s . value)) * ((short int) (60))) - (1)) < 0) && (((short int) (s . value)) * ((short int) (60))) < ((-32767 -1))) || (32767) < (((short int) (s . value)) * ((short int) (60)))) ? (*(&n_minutes) = ((short int) ((unsigned int) ((short int) (s . value)) * (unsigned int) ((short int) (60)))), 1) : (*(&n_minutes) = ((short int) ((unsigned int) ((short int) (s . value)) * (unsigned int) ((short int) (60)))), 0)) : ((__builtin_mul_overflow_p (s . value, 60, (__typeof__ ((s . value) * (60))) 0) || (((0 * ((s . value) * (60)) - (1)) < 0) && ((s . value) * (60)) < ((-32767 -1))) || (32767) < ((s . value) * (60))) ? (*(&n_minutes) = ((short int) ((unsigned int) (s . value) * (unsigned int) (60))), 1) : (*(&n_minutes) = ((short int) ((unsigned int) (s . value) * (unsigned int) (60))), 0))) : sizeof *(&n_minutes) == sizeof (int) ? (sizeof ((s . value) * (60)) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) (s . value), (int) (60), (__typeof__ (((int) (s . value)) * ((int) (60)))) 0) || (((0 * (((int) (s . value)) * ((int) (60))) - (1)) < 0) && (((int) (s . value)) * ((int) (60))) < ((-2147483647 -1))) || (2147483647) < (((int) (s . value)) * ((int) (60)))) ? (*(&n_minutes) = ((int) ((unsigned int) ((int) (s . value)) * (unsigned int) ((int) (60)))), 1) : (*(&n_minutes) = ((int) ((unsigned int) ((int) (s . value)) * (unsigned int) ((int) (60)))), 0)) : ((__builtin_mul_overflow_p (s . value, 60, (__typeof__ ((s . value) * (60))) 0) || (((0 * ((s . value) * (60)) - (1)) < 0) && ((s . value) * (60)) < ((-2147483647 -1))) || (2147483647) < ((s . value) * (60))) ? (*(&n_minutes) = ((int) ((unsigned int) (s . value) * (unsigned int) (60))), 1) : (*(&n_minutes) = ((int) ((unsigned int) (s . value) * (unsigned int) (60))), 0))) : (sizeof *(&n_minutes) == sizeof (long int) ? (sizeof ((s . value) * (60)) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) (s . value), (long int) (60), (__typeof__ (((long int) (s . value)) * ((long int) (60)))) 0) || (((0 * (((long int) (s . value)) * ((long int) (60))) - (1)) < 0) && (((long int) (s . value)) * ((long int) (60))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (s . value)) * ((long int) (60)))) ? (*(&n_minutes) = ((long int) ((unsigned long int) ((long int) (s . value)) * (unsigned long int) ((long int) (60)))), 1) : (*(&n_minutes) = ((long int) ((unsigned long int) ((long int) (s . value)) * (unsigned long int) ((long int) (60)))), 0)) : ((__builtin_mul_overflow_p (s . value, 60, (__typeof__ ((s . value) * (60))) 0) || (((0 * ((s . value) * (60)) - (1)) < 0) && ((s . value) * (60)) < ((-2147483647 -1L))) || (2147483647) < ((s . value) * (60))) ? (*(&n_minutes) = ((long int) ((unsigned long int) (s . value) * (unsigned long int) (60))), 1) : (*(&n_minutes) = ((long int) ((unsigned long int) (s . value) * (unsigned long int) (60))), 0))) : (sizeof ((s . value) * (60)) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) (s . value), (long long int) (60), (__typeof__ (((long long int) (s . value)) * ((long long int) (60)))) 0) || (((0 * (((long long int) (s . value)) * ((long long int) (60))) - (1)) < 0) && (((long long int) (s . value)) * ((long long int) (60))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (s . value)) * ((long long int) (60)))) ? (*(&n_minutes) = ((long long int) ((unsigned long long int) ((long long int) (s . value)) * (unsigned long long int) ((long long int) (60)))), 1) : (*(&n_minutes) = ((long long int) ((unsigned long long int) ((long long int) (s . value)) * (unsigned long long int) ((long long int) (60)))), 0)) : ((__builtin_mul_overflow_p (s . value, 60, (__typeof__ ((s . value) * (60))) 0) || (((0 * ((s . value) * (60)) - (1)) < 0) && ((s . value) * (60)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((s . value) * (60))) ? (*(&n_minutes) = ((long long int) ((unsigned long long int) (s . value) * (unsigned long long int) (60))), 1) : (*(&n_minutes) = ((long long int) ((unsigned long long int) (s . value) * (unsigned long long int) (60))), 0))))); overflow |= (s.negative ? (sizeof *(&n_minutes) == sizeof (signed char) ? (sizeof ((n_minutes) - (mm)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (n_minutes), (signed char) (mm), (__typeof__ (((signed char) (n_minutes)) - ((signed char) (mm)))) 0) || (((0 * (((signed char) (n_minutes)) - ((signed char) (mm))) - (1)) < 0) && (((signed char) (n_minutes)) - ((signed char) (mm))) < ((-127-1))) || (127) < (((signed char) (n_minutes)) - ((signed char) (mm)))) ? (*(&n_minutes) = ((signed char) ((unsigned int) ((signed char) (n_minutes)) - (unsigned int) ((signed char) (mm)))), 1) : (*(&n_minutes) = ((signed char) ((unsigned int) ((signed char) (n_minutes)) - (unsigned int) ((signed char) (mm)))), 0)) : ((__builtin_sub_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) - (mm))) 0) || (((0 * ((n_minutes) - (mm)) - (1)) < 0) && ((n_minutes) - (mm)) < ((-127-1))) || (127) < ((n_minutes) - (mm))) ? (*(&n_minutes) = ((signed char) ((unsigned int) (n_minutes) - (unsigned int) (mm))), 1) : (*(&n_minutes) = ((signed char) ((unsigned int) (n_minutes) - (unsigned int) (mm))), 0))) : sizeof *(&n_minutes) == sizeof (short int) ? (sizeof ((n_minutes) - (mm)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (n_minutes), (short int) (mm), (__typeof__ (((short int) (n_minutes)) - ((short int) (mm)))) 0) || (((0 * (((short int) (n_minutes)) - ((short int) (mm))) - (1)) < 0) && (((short int) (n_minutes)) - ((short int) (mm))) < ((-32767 -1))) || (32767) < (((short int) (n_minutes)) - ((short int) (mm)))) ? (*(&n_minutes) = ((short int) ((unsigned int) ((short int) (n_minutes)) - (unsigned int) ((short int) (mm)))), 1) : (*(&n_minutes) = ((short int) ((unsigned int) ((short int) (n_minutes)) - (unsigned int) ((short int) (mm)))), 0)) : ((__builtin_sub_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) - (mm))) 0) || (((0 * ((n_minutes) - (mm)) - (1)) < 0) && ((n_minutes) - (mm)) < ((-32767 -1))) || (32767) < ((n_minutes) - (mm))) ? (*(&n_minutes) = ((short int) ((unsigned int) (n_minutes) - (unsigned int) (mm))), 1) : (*(&n_minutes) = ((short int) ((unsigned int) (n_minutes) - (unsigned int) (mm))), 0))) : sizeof *(&n_minutes) == sizeof (int) ? (sizeof ((n_minutes) - (mm)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (n_minutes), (int) (mm), (__typeof__ (((int) (n_minutes)) - ((int) (mm)))) 0) || (((0 * (((int) (n_minutes)) - ((int) (mm))) - (1)) < 0) && (((int) (n_minutes)) - ((int) (mm))) < ((-2147483647 -1))) || (2147483647) < (((int) (n_minutes)) - ((int) (mm)))) ? (*(&n_minutes) = ((int) ((unsigned int) ((int) (n_minutes)) - (unsigned int) ((int) (mm)))), 1) : (*(&n_minutes) = ((int) ((unsigned int) ((int) (n_minutes)) - (unsigned int) ((int) (mm)))), 0)) : ((__builtin_sub_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) - (mm))) 0) || (((0 * ((n_minutes) - (mm)) - (1)) < 0) && ((n_minutes) - (mm)) < ((-2147483647 -1))) || (2147483647) < ((n_minutes) - (mm))) ? (*(&n_minutes) = ((int) ((unsigned int) (n_minutes) - (unsigned int) (mm))), 1) : (*(&n_minutes) = ((int) ((unsigned int) (n_minutes) - (unsigned int) (mm))), 0))) : (sizeof *(&n_minutes) == sizeof (long int) ? (sizeof ((n_minutes) - (mm)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (n_minutes), (long int) (mm), (__typeof__ (((long int) (n_minutes)) - ((long int) (mm)))) 0) || (((0 * (((long int) (n_minutes)) - ((long int) (mm))) - (1)) < 0) && (((long int) (n_minutes)) - ((long int) (mm))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (n_minutes)) - ((long int) (mm)))) ? (*(&n_minutes) = ((long int) ((unsigned long int) ((long int) (n_minutes)) - (unsigned long int) ((long int) (mm)))), 1) : (*(&n_minutes) = ((long int) ((unsigned long int) ((long int) (n_minutes)) - (unsigned long int) ((long int) (mm)))), 0)) : ((__builtin_sub_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) - (mm))) 0) || (((0 * ((n_minutes) - (mm)) - (1)) < 0) && ((n_minutes) - (mm)) < ((-2147483647 -1L))) || (2147483647) < ((n_minutes) - (mm))) ? (*(&n_minutes) = ((long int) ((unsigned long int) (n_minutes) - (unsigned long int) (mm))), 1) : (*(&n_minutes) = ((long int) ((unsigned long int) (n_minutes) - (unsigned long int) (mm))), 0))) : (sizeof ((n_minutes) - (mm)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (n_minutes), (long long int) (mm), (__typeof__ (((long long int) (n_minutes)) - ((long long int) (mm)))) 0) || (((0 * (((long long int) (n_minutes)) - ((long long int) (mm))) - (1)) < 0) && (((long long int) (n_minutes)) - ((long long int) (mm))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (n_minutes)) - ((long long int) (mm)))) ? (*(&n_minutes) = ((long long int) ((unsigned long long int) ((long long int) (n_minutes)) - (unsigned long long int) ((long long int) (mm)))), 1) : (*(&n_minutes) = ((long long int) ((unsigned long long int) ((long long int) (n_minutes)) - (unsigned long long int) ((long long int) (mm)))), 0)) : ((__builtin_sub_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) - (mm))) 0) || (((0 * ((n_minutes) - (mm)) - (1)) < 0) && ((n_minutes) - (mm)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((n_minutes) - (mm))) ? (*(&n_minutes) = ((long long int) ((unsigned long long int) (n_minutes) - (unsigned long long int) (mm))), 1) : (*(&n_minutes) = ((long long int) ((unsigned long long int) (n_minutes) - (unsigned long long int) (mm))), 0))))) : (sizeof *(&n_minutes) == sizeof (signed char) ? (sizeof ((n_minutes) + (mm)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (n_minutes), (signed char) (mm), (__typeof__ (((signed char) (n_minutes)) + ((signed char) (mm)))) 0) || (((0 * (((signed char) (n_minutes)) + ((signed char) (mm))) - (1)) < 0) && (((signed char) (n_minutes)) + ((signed char) (mm))) < ((-127-1))) || (127) < (((signed char) (n_minutes)) + ((signed char) (mm)))) ? (*(&n_minutes) = ((signed char) ((unsigned int) ((signed char) (n_minutes)) + (unsigned int) ((signed char) (mm)))), 1) : (*(&n_minutes) = ((signed char) ((unsigned int) ((signed char) (n_minutes)) + (unsigned int) ((signed char) (mm)))), 0)) : ((__builtin_add_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) + (mm))) 0) || (((0 * ((n_minutes) + (mm)) - (1)) < 0) && ((n_minutes) + (mm)) < ((-127-1))) || (127) < ((n_minutes) + (mm))) ? (*(&n_minutes) = ((signed char) ((unsigned int) (n_minutes) + (unsigned int) (mm))), 1) : (*(&n_minutes) = ((signed char) ((unsigned int) (n_minutes) + (unsigned int) (mm))), 0))) : sizeof *(&n_minutes) == sizeof (short int) ? (sizeof ((n_minutes) + (mm)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (n_minutes), (short int) (mm), (__typeof__ (((short int) (n_minutes)) + ((short int) (mm)))) 0) || (((0 * (((short int) (n_minutes)) + ((short int) (mm))) - (1)) < 0) && (((short int) (n_minutes)) + ((short int) (mm))) < ((-32767 -1))) || (32767) < (((short int) (n_minutes)) + ((short int) (mm)))) ? (*(&n_minutes) = ((short int) ((unsigned int) ((short int) (n_minutes)) + (unsigned int) ((short int) (mm)))), 1) : (*(&n_minutes) = ((short int) ((unsigned int) ((short int) (n_minutes)) + (unsigned int) ((short int) (mm)))), 0)) : ((__builtin_add_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) + (mm))) 0) || (((0 * ((n_minutes) + (mm)) - (1)) < 0) && ((n_minutes) + (mm)) < ((-32767 -1))) || (32767) < ((n_minutes) + (mm))) ? (*(&n_minutes) = ((short int) ((unsigned int) (n_minutes) + (unsigned int) (mm))), 1) : (*(&n_minutes) = ((short int) ((unsigned int) (n_minutes) + (unsigned int) (mm))), 0))) : sizeof *(&n_minutes) == sizeof (int) ? (sizeof ((n_minutes) + (mm)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (n_minutes), (int) (mm), (__typeof__ (((int) (n_minutes)) + ((int) (mm)))) 0) || (((0 * (((int) (n_minutes)) + ((int) (mm))) - (1)) < 0) && (((int) (n_minutes)) + ((int) (mm))) < ((-2147483647 -1))) || (2147483647) < (((int) (n_minutes)) + ((int) (mm)))) ? (*(&n_minutes) = ((int) ((unsigned int) ((int) (n_minutes)) + (unsigned int) ((int) (mm)))), 1) : (*(&n_minutes) = ((int) ((unsigned int) ((int) (n_minutes)) + (unsigned int) ((int) (mm)))), 0)) : ((__builtin_add_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) + (mm))) 0) || (((0 * ((n_minutes) + (mm)) - (1)) < 0) && ((n_minutes) + (mm)) < ((-2147483647 -1))) || (2147483647) < ((n_minutes) + (mm))) ? (*(&n_minutes) = ((int) ((unsigned int) (n_minutes) + (unsigned int) (mm))), 1) : (*(&n_minutes) = ((int) ((unsigned int) (n_minutes) + (unsigned int) (mm))), 0))) : (sizeof *(&n_minutes) == sizeof (long int) ? (sizeof ((n_minutes) + (mm)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (n_minutes), (long int) (mm), (__typeof__ (((long int) (n_minutes)) + ((long int) (mm)))) 0) || (((0 * (((long int) (n_minutes)) + ((long int) (mm))) - (1)) < 0) && (((long int) (n_minutes)) + ((long int) (mm))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (n_minutes)) + ((long int) (mm)))) ? (*(&n_minutes) = ((long int) ((unsigned long int) ((long int) (n_minutes)) + (unsigned long int) ((long int) (mm)))), 1) : (*(&n_minutes) = ((long int) ((unsigned long int) ((long int) (n_minutes)) + (unsigned long int) ((long int) (mm)))), 0)) : ((__builtin_add_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) + (mm))) 0) || (((0 * ((n_minutes) + (mm)) - (1)) < 0) && ((n_minutes) + (mm)) < ((-2147483647 -1L))) || (2147483647) < ((n_minutes) + (mm))) ? (*(&n_minutes) = ((long int) ((unsigned long int) (n_minutes) + (unsigned long int) (mm))), 1) : (*(&n_minutes) = ((long int) ((unsigned long int) (n_minutes) + (unsigned long int) (mm))), 0))) : (sizeof ((n_minutes) + (mm)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (n_minutes), (long long int) (mm), (__typeof__ (((long long int) (n_minutes)) + ((long long int) (mm)))) 0) || (((0 * (((long long int) (n_minutes)) + ((long long int) (mm))) - (1)) < 0) && (((long long int) (n_minutes)) + ((long long int) (mm))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (n_minutes)) + ((long long int) (mm)))) ? (*(&n_minutes) = ((long long int) ((unsigned long long int) ((long long int) (n_minutes)) + (unsigned long long int) ((long long int) (mm)))), 1) : (*(&n_minutes) = ((long long int) ((unsigned long long int) ((long long int) (n_minutes)) + (unsigned long long int) ((long long int) (mm)))), 0)) : ((__builtin_add_overflow_p (n_minutes, mm, (__typeof__ ((n_minutes) + (mm))) 0) || (((0 * ((n_minutes) + (mm)) - (1)) < 0) && ((n_minutes) + (mm)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((n_minutes) + (mm))) ? (*(&n_minutes) = ((long long int) ((unsigned long long int) (n_minutes) + (unsigned long long int) (mm))), 1) : (*(&n_minutes) = ((long long int) ((unsigned long long int) (n_minutes) + (unsigned long long int) (mm))), 0)))))); } if (overflow || ! (-24 * 60 <= n_minutes && n_minutes <= 24 * 60)) return 0; pc->time_zone = n_minutes * 60; return 1; } static int to_hour (intmax_t hours, int meridian) { switch (meridian) { default: case MER24: return 0 <= hours && hours < 24 ? hours : -1; case MERam: return 0 < hours && hours < 12 ? hours : hours == 12 ? 0 : -1; case MERpm: return 0 < hours && hours < 12 ? hours + 12 : hours == 12 ? 12 : -1; } } enum { TM_YEAR_BASE = 1900 }; enum { TM_YEAR_BUFSIZE = ((((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) + 1) + 1 }; static char const * tm_year_str (int tm_year, char buf[TM_YEAR_BUFSIZE]) { _Static_assert (TM_YEAR_BASE % 100 == 0, "verify (" "TM_YEAR_BASE % 100 == 0" ")"); sprintf (buf, &"-%02d%02d"[-TM_YEAR_BASE <= tm_year], abs (tm_year / 100 + TM_YEAR_BASE / 100), abs (tm_year % 100)); return buf; } static _Bool to_tm_year (textint textyear, _Bool debug, int *tm_year) { intmax_t year = textyear.value; if (0 <= year && textyear.digits == 2) { year += year < 69 ? 2000 : 1900; if (debug) dbg_printf (gettext ("warning: adjusting year value %" "ll" "d" " to %" "ll" "d" "\n"), textyear.value, year); } if (year < 0 ? (sizeof *(tm_year) == sizeof (signed char) ? (sizeof ((-TM_YEAR_BASE) - (year)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (-TM_YEAR_BASE), (signed char) (year), (__typeof__ (((signed char) (-TM_YEAR_BASE)) - ((signed char) (year)))) 0) || (((0 * (((signed char) (-TM_YEAR_BASE)) - ((signed char) (year))) - (1)) < 0) && (((signed char) (-TM_YEAR_BASE)) - ((signed char) (year))) < ((-127-1))) || (127) < (((signed char) (-TM_YEAR_BASE)) - ((signed char) (year)))) ? (*(tm_year) = ((signed char) ((unsigned int) ((signed char) (-TM_YEAR_BASE)) - (unsigned int) ((signed char) (year)))), 1) : (*(tm_year) = ((signed char) ((unsigned int) ((signed char) (-TM_YEAR_BASE)) - (unsigned int) ((signed char) (year)))), 0)) : ((__builtin_sub_overflow_p (-TM_YEAR_BASE, year, (__typeof__ ((-TM_YEAR_BASE) - (year))) 0) || (((0 * ((-TM_YEAR_BASE) - (year)) - (1)) < 0) && ((-TM_YEAR_BASE) - (year)) < ((-127-1))) || (127) < ((-TM_YEAR_BASE) - (year))) ? (*(tm_year) = ((signed char) ((unsigned int) (-TM_YEAR_BASE) - (unsigned int) (year))), 1) : (*(tm_year) = ((signed char) ((unsigned int) (-TM_YEAR_BASE) - (unsigned int) (year))), 0))) : sizeof *(tm_year) == sizeof (short int) ? (sizeof ((-TM_YEAR_BASE) - (year)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (-TM_YEAR_BASE), (short int) (year), (__typeof__ (((short int) (-TM_YEAR_BASE)) - ((short int) (year)))) 0) || (((0 * (((short int) (-TM_YEAR_BASE)) - ((short int) (year))) - (1)) < 0) && (((short int) (-TM_YEAR_BASE)) - ((short int) (year))) < ((-32767 -1))) || (32767) < (((short int) (-TM_YEAR_BASE)) - ((short int) (year)))) ? (*(tm_year) = ((short int) ((unsigned int) ((short int) (-TM_YEAR_BASE)) - (unsigned int) ((short int) (year)))), 1) : (*(tm_year) = ((short int) ((unsigned int) ((short int) (-TM_YEAR_BASE)) - (unsigned int) ((short int) (year)))), 0)) : ((__builtin_sub_overflow_p (-TM_YEAR_BASE, year, (__typeof__ ((-TM_YEAR_BASE) - (year))) 0) || (((0 * ((-TM_YEAR_BASE) - (year)) - (1)) < 0) && ((-TM_YEAR_BASE) - (year)) < ((-32767 -1))) || (32767) < ((-TM_YEAR_BASE) - (year))) ? (*(tm_year) = ((short int) ((unsigned int) (-TM_YEAR_BASE) - (unsigned int) (year))), 1) : (*(tm_year) = ((short int) ((unsigned int) (-TM_YEAR_BASE) - (unsigned int) (year))), 0))) : sizeof *(tm_year) == sizeof (int) ? (sizeof ((-TM_YEAR_BASE) - (year)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (-TM_YEAR_BASE), (int) (year), (__typeof__ (((int) (-TM_YEAR_BASE)) - ((int) (year)))) 0) || (((0 * (((int) (-TM_YEAR_BASE)) - ((int) (year))) - (1)) < 0) && (((int) (-TM_YEAR_BASE)) - ((int) (year))) < ((-2147483647 -1))) || (2147483647) < (((int) (-TM_YEAR_BASE)) - ((int) (year)))) ? (*(tm_year) = ((int) ((unsigned int) ((int) (-TM_YEAR_BASE)) - (unsigned int) ((int) (year)))), 1) : (*(tm_year) = ((int) ((unsigned int) ((int) (-TM_YEAR_BASE)) - (unsigned int) ((int) (year)))), 0)) : ((__builtin_sub_overflow_p (-TM_YEAR_BASE, year, (__typeof__ ((-TM_YEAR_BASE) - (year))) 0) || (((0 * ((-TM_YEAR_BASE) - (year)) - (1)) < 0) && ((-TM_YEAR_BASE) - (year)) < ((-2147483647 -1))) || (2147483647) < ((-TM_YEAR_BASE) - (year))) ? (*(tm_year) = ((int) ((unsigned int) (-TM_YEAR_BASE) - (unsigned int) (year))), 1) : (*(tm_year) = ((int) ((unsigned int) (-TM_YEAR_BASE) - (unsigned int) (year))), 0))) : (sizeof *(tm_year) == sizeof (long int) ? (sizeof ((-TM_YEAR_BASE) - (year)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (-TM_YEAR_BASE), (long int) (year), (__typeof__ (((long int) (-TM_YEAR_BASE)) - ((long int) (year)))) 0) || (((0 * (((long int) (-TM_YEAR_BASE)) - ((long int) (year))) - (1)) < 0) && (((long int) (-TM_YEAR_BASE)) - ((long int) (year))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (-TM_YEAR_BASE)) - ((long int) (year)))) ? (*(tm_year) = ((long int) ((unsigned long int) ((long int) (-TM_YEAR_BASE)) - (unsigned long int) ((long int) (year)))), 1) : (*(tm_year) = ((long int) ((unsigned long int) ((long int) (-TM_YEAR_BASE)) - (unsigned long int) ((long int) (year)))), 0)) : ((__builtin_sub_overflow_p (-TM_YEAR_BASE, year, (__typeof__ ((-TM_YEAR_BASE) - (year))) 0) || (((0 * ((-TM_YEAR_BASE) - (year)) - (1)) < 0) && ((-TM_YEAR_BASE) - (year)) < ((-2147483647 -1L))) || (2147483647) < ((-TM_YEAR_BASE) - (year))) ? (*(tm_year) = ((long int) ((unsigned long int) (-TM_YEAR_BASE) - (unsigned long int) (year))), 1) : (*(tm_year) = ((long int) ((unsigned long int) (-TM_YEAR_BASE) - (unsigned long int) (year))), 0))) : (sizeof ((-TM_YEAR_BASE) - (year)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (-TM_YEAR_BASE), (long long int) (year), (__typeof__ (((long long int) (-TM_YEAR_BASE)) - ((long long int) (year)))) 0) || (((0 * (((long long int) (-TM_YEAR_BASE)) - ((long long int) (year))) - (1)) < 0) && (((long long int) (-TM_YEAR_BASE)) - ((long long int) (year))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (-TM_YEAR_BASE)) - ((long long int) (year)))) ? (*(tm_year) = ((long long int) ((unsigned long long int) ((long long int) (-TM_YEAR_BASE)) - (unsigned long long int) ((long long int) (year)))), 1) : (*(tm_year) = ((long long int) ((unsigned long long int) ((long long int) (-TM_YEAR_BASE)) - (unsigned long long int) ((long long int) (year)))), 0)) : ((__builtin_sub_overflow_p (-TM_YEAR_BASE, year, (__typeof__ ((-TM_YEAR_BASE) - (year))) 0) || (((0 * ((-TM_YEAR_BASE) - (year)) - (1)) < 0) && ((-TM_YEAR_BASE) - (year)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((-TM_YEAR_BASE) - (year))) ? (*(tm_year) = ((long long int) ((unsigned long long int) (-TM_YEAR_BASE) - (unsigned long long int) (year))), 1) : (*(tm_year) = ((long long int) ((unsigned long long int) (-TM_YEAR_BASE) - (unsigned long long int) (year))), 0))))) : (sizeof *(tm_year) == sizeof (signed char) ? (sizeof ((year) - (TM_YEAR_BASE)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (year), (signed char) (TM_YEAR_BASE), (__typeof__ (((signed char) (year)) - ((signed char) (TM_YEAR_BASE)))) 0) || (((0 * (((signed char) (year)) - ((signed char) (TM_YEAR_BASE))) - (1)) < 0) && (((signed char) (year)) - ((signed char) (TM_YEAR_BASE))) < ((-127-1))) || (127) < (((signed char) (year)) - ((signed char) (TM_YEAR_BASE)))) ? (*(tm_year) = ((signed char) ((unsigned int) ((signed char) (year)) - (unsigned int) ((signed char) (TM_YEAR_BASE)))), 1) : (*(tm_year) = ((signed char) ((unsigned int) ((signed char) (year)) - (unsigned int) ((signed char) (TM_YEAR_BASE)))), 0)) : ((__builtin_sub_overflow_p (year, TM_YEAR_BASE, (__typeof__ ((year) - (TM_YEAR_BASE))) 0) || (((0 * ((year) - (TM_YEAR_BASE)) - (1)) < 0) && ((year) - (TM_YEAR_BASE)) < ((-127-1))) || (127) < ((year) - (TM_YEAR_BASE))) ? (*(tm_year) = ((signed char) ((unsigned int) (year) - (unsigned int) (TM_YEAR_BASE))), 1) : (*(tm_year) = ((signed char) ((unsigned int) (year) - (unsigned int) (TM_YEAR_BASE))), 0))) : sizeof *(tm_year) == sizeof (short int) ? (sizeof ((year) - (TM_YEAR_BASE)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (year), (short int) (TM_YEAR_BASE), (__typeof__ (((short int) (year)) - ((short int) (TM_YEAR_BASE)))) 0) || (((0 * (((short int) (year)) - ((short int) (TM_YEAR_BASE))) - (1)) < 0) && (((short int) (year)) - ((short int) (TM_YEAR_BASE))) < ((-32767 -1))) || (32767) < (((short int) (year)) - ((short int) (TM_YEAR_BASE)))) ? (*(tm_year) = ((short int) ((unsigned int) ((short int) (year)) - (unsigned int) ((short int) (TM_YEAR_BASE)))), 1) : (*(tm_year) = ((short int) ((unsigned int) ((short int) (year)) - (unsigned int) ((short int) (TM_YEAR_BASE)))), 0)) : ((__builtin_sub_overflow_p (year, TM_YEAR_BASE, (__typeof__ ((year) - (TM_YEAR_BASE))) 0) || (((0 * ((year) - (TM_YEAR_BASE)) - (1)) < 0) && ((year) - (TM_YEAR_BASE)) < ((-32767 -1))) || (32767) < ((year) - (TM_YEAR_BASE))) ? (*(tm_year) = ((short int) ((unsigned int) (year) - (unsigned int) (TM_YEAR_BASE))), 1) : (*(tm_year) = ((short int) ((unsigned int) (year) - (unsigned int) (TM_YEAR_BASE))), 0))) : sizeof *(tm_year) == sizeof (int) ? (sizeof ((year) - (TM_YEAR_BASE)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (year), (int) (TM_YEAR_BASE), (__typeof__ (((int) (year)) - ((int) (TM_YEAR_BASE)))) 0) || (((0 * (((int) (year)) - ((int) (TM_YEAR_BASE))) - (1)) < 0) && (((int) (year)) - ((int) (TM_YEAR_BASE))) < ((-2147483647 -1))) || (2147483647) < (((int) (year)) - ((int) (TM_YEAR_BASE)))) ? (*(tm_year) = ((int) ((unsigned int) ((int) (year)) - (unsigned int) ((int) (TM_YEAR_BASE)))), 1) : (*(tm_year) = ((int) ((unsigned int) ((int) (year)) - (unsigned int) ((int) (TM_YEAR_BASE)))), 0)) : ((__builtin_sub_overflow_p (year, TM_YEAR_BASE, (__typeof__ ((year) - (TM_YEAR_BASE))) 0) || (((0 * ((year) - (TM_YEAR_BASE)) - (1)) < 0) && ((year) - (TM_YEAR_BASE)) < ((-2147483647 -1))) || (2147483647) < ((year) - (TM_YEAR_BASE))) ? (*(tm_year) = ((int) ((unsigned int) (year) - (unsigned int) (TM_YEAR_BASE))), 1) : (*(tm_year) = ((int) ((unsigned int) (year) - (unsigned int) (TM_YEAR_BASE))), 0))) : (sizeof *(tm_year) == sizeof (long int) ? (sizeof ((year) - (TM_YEAR_BASE)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (year), (long int) (TM_YEAR_BASE), (__typeof__ (((long int) (year)) - ((long int) (TM_YEAR_BASE)))) 0) || (((0 * (((long int) (year)) - ((long int) (TM_YEAR_BASE))) - (1)) < 0) && (((long int) (year)) - ((long int) (TM_YEAR_BASE))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (year)) - ((long int) (TM_YEAR_BASE)))) ? (*(tm_year) = ((long int) ((unsigned long int) ((long int) (year)) - (unsigned long int) ((long int) (TM_YEAR_BASE)))), 1) : (*(tm_year) = ((long int) ((unsigned long int) ((long int) (year)) - (unsigned long int) ((long int) (TM_YEAR_BASE)))), 0)) : ((__builtin_sub_overflow_p (year, TM_YEAR_BASE, (__typeof__ ((year) - (TM_YEAR_BASE))) 0) || (((0 * ((year) - (TM_YEAR_BASE)) - (1)) < 0) && ((year) - (TM_YEAR_BASE)) < ((-2147483647 -1L))) || (2147483647) < ((year) - (TM_YEAR_BASE))) ? (*(tm_year) = ((long int) ((unsigned long int) (year) - (unsigned long int) (TM_YEAR_BASE))), 1) : (*(tm_year) = ((long int) ((unsigned long int) (year) - (unsigned long int) (TM_YEAR_BASE))), 0))) : (sizeof ((year) - (TM_YEAR_BASE)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (year), (long long int) (TM_YEAR_BASE), (__typeof__ (((long long int) (year)) - ((long long int) (TM_YEAR_BASE)))) 0) || (((0 * (((long long int) (year)) - ((long long int) (TM_YEAR_BASE))) - (1)) < 0) && (((long long int) (year)) - ((long long int) (TM_YEAR_BASE))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (year)) - ((long long int) (TM_YEAR_BASE)))) ? (*(tm_year) = ((long long int) ((unsigned long long int) ((long long int) (year)) - (unsigned long long int) ((long long int) (TM_YEAR_BASE)))), 1) : (*(tm_year) = ((long long int) ((unsigned long long int) ((long long int) (year)) - (unsigned long long int) ((long long int) (TM_YEAR_BASE)))), 0)) : ((__builtin_sub_overflow_p (year, TM_YEAR_BASE, (__typeof__ ((year) - (TM_YEAR_BASE))) 0) || (((0 * ((year) - (TM_YEAR_BASE)) - (1)) < 0) && ((year) - (TM_YEAR_BASE)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((year) - (TM_YEAR_BASE))) ? (*(tm_year) = ((long long int) ((unsigned long long int) (year) - (unsigned long long int) (TM_YEAR_BASE))), 1) : (*(tm_year) = ((long long int) ((unsigned long long int) (year) - (unsigned long long int) (TM_YEAR_BASE))), 0)))))) { if (debug) dbg_printf (gettext ("error: out-of-range year %" "ll" "d" "\n"), year); return 0; } return 1; } static table const * __attribute__ ((__pure__)) lookup_zone (parser_control const *pc, char const *name) { table const *tp; for (tp = universal_time_zone_table; tp->name; tp++) if (strcmp (name, tp->name) == 0) return tp; for (tp = pc->local_time_zone_table; tp->name; tp++) if (strcmp (name, tp->name) == 0) return tp; for (tp = time_zone_table; tp->name; tp++) if (strcmp (name, tp->name) == 0) return tp; return ((void*)0); } # 1341 "parse-datetime.y" static table const * lookup_word (parser_control const *pc, char *word) { char *p; char *q; ptrdiff_t wordlen; table const *tp; _Bool period_found; _Bool abbrev; for (p = word; *p; p++) *p = c_toupper (to_uchar (*p)); for (tp = meridian_table; tp->name; tp++) if (strcmp (word, tp->name) == 0) return tp; wordlen = strlen (word); abbrev = wordlen == 3 || (wordlen == 4 && word[3] == '.'); for (tp = month_and_day_table; tp->name; tp++) if ((abbrev ? strncmp (word, tp->name, 3) : strcmp (word, tp->name)) == 0) return tp; if ((tp = lookup_zone (pc, word))) return tp; if (strcmp (word, dst_table[0].name) == 0) return dst_table; for (tp = time_units_table; tp->name; tp++) if (strcmp (word, tp->name) == 0) return tp; if (word[wordlen - 1] == 'S') { word[wordlen - 1] = '\0'; for (tp = time_units_table; tp->name; tp++) if (strcmp (word, tp->name) == 0) return tp; word[wordlen - 1] = 'S'; } for (tp = relative_time_table; tp->name; tp++) if (strcmp (word, tp->name) == 0) return tp; if (wordlen == 1) for (tp = military_table; tp->name; tp++) if (word[0] == tp->name[0]) return tp; for (period_found = 0, p = q = word; (*p = *q); q++) if (*q == '.') period_found = 1; else p++; if (period_found && (tp = lookup_zone (pc, word))) return tp; return ((void*)0); } static int yylex (union YYSTYPE *lvalp, parser_control *pc) { unsigned char c; for (;;) { while (c = *pc->input, c_isspace (c)) pc->input++; if (c_isdigit (c) || c == '-' || c == '+') { char const *p; int sign; intmax_t value = 0; if (c == '-' || c == '+') { sign = c == '-' ? -1 : 1; while (c = *++pc->input, c_isspace (c)) continue; if (! c_isdigit (c)) continue; } else sign = 0; p = pc->input; do { if ((sizeof *(&value) == sizeof (signed char) ? (sizeof ((value) * (10)) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) (value), (signed char) (10), (__typeof__ (((signed char) (value)) * ((signed char) (10)))) 0) || (((0 * (((signed char) (value)) * ((signed char) (10))) - (1)) < 0) && (((signed char) (value)) * ((signed char) (10))) < ((-127-1))) || (127) < (((signed char) (value)) * ((signed char) (10)))) ? (*(&value) = ((signed char) ((unsigned int) ((signed char) (value)) * (unsigned int) ((signed char) (10)))), 1) : (*(&value) = ((signed char) ((unsigned int) ((signed char) (value)) * (unsigned int) ((signed char) (10)))), 0)) : ((__builtin_mul_overflow_p (value, 10, (__typeof__ ((value) * (10))) 0) || (((0 * ((value) * (10)) - (1)) < 0) && ((value) * (10)) < ((-127-1))) || (127) < ((value) * (10))) ? (*(&value) = ((signed char) ((unsigned int) (value) * (unsigned int) (10))), 1) : (*(&value) = ((signed char) ((unsigned int) (value) * (unsigned int) (10))), 0))) : sizeof *(&value) == sizeof (short int) ? (sizeof ((value) * (10)) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) (value), (short int) (10), (__typeof__ (((short int) (value)) * ((short int) (10)))) 0) || (((0 * (((short int) (value)) * ((short int) (10))) - (1)) < 0) && (((short int) (value)) * ((short int) (10))) < ((-32767 -1))) || (32767) < (((short int) (value)) * ((short int) (10)))) ? (*(&value) = ((short int) ((unsigned int) ((short int) (value)) * (unsigned int) ((short int) (10)))), 1) : (*(&value) = ((short int) ((unsigned int) ((short int) (value)) * (unsigned int) ((short int) (10)))), 0)) : ((__builtin_mul_overflow_p (value, 10, (__typeof__ ((value) * (10))) 0) || (((0 * ((value) * (10)) - (1)) < 0) && ((value) * (10)) < ((-32767 -1))) || (32767) < ((value) * (10))) ? (*(&value) = ((short int) ((unsigned int) (value) * (unsigned int) (10))), 1) : (*(&value) = ((short int) ((unsigned int) (value) * (unsigned int) (10))), 0))) : sizeof *(&value) == sizeof (int) ? (sizeof ((value) * (10)) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) (value), (int) (10), (__typeof__ (((int) (value)) * ((int) (10)))) 0) || (((0 * (((int) (value)) * ((int) (10))) - (1)) < 0) && (((int) (value)) * ((int) (10))) < ((-2147483647 -1))) || (2147483647) < (((int) (value)) * ((int) (10)))) ? (*(&value) = ((int) ((unsigned int) ((int) (value)) * (unsigned int) ((int) (10)))), 1) : (*(&value) = ((int) ((unsigned int) ((int) (value)) * (unsigned int) ((int) (10)))), 0)) : ((__builtin_mul_overflow_p (value, 10, (__typeof__ ((value) * (10))) 0) || (((0 * ((value) * (10)) - (1)) < 0) && ((value) * (10)) < ((-2147483647 -1))) || (2147483647) < ((value) * (10))) ? (*(&value) = ((int) ((unsigned int) (value) * (unsigned int) (10))), 1) : (*(&value) = ((int) ((unsigned int) (value) * (unsigned int) (10))), 0))) : (sizeof *(&value) == sizeof (long int) ? (sizeof ((value) * (10)) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) (value), (long int) (10), (__typeof__ (((long int) (value)) * ((long int) (10)))) 0) || (((0 * (((long int) (value)) * ((long int) (10))) - (1)) < 0) && (((long int) (value)) * ((long int) (10))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (value)) * ((long int) (10)))) ? (*(&value) = ((long int) ((unsigned long int) ((long int) (value)) * (unsigned long int) ((long int) (10)))), 1) : (*(&value) = ((long int) ((unsigned long int) ((long int) (value)) * (unsigned long int) ((long int) (10)))), 0)) : ((__builtin_mul_overflow_p (value, 10, (__typeof__ ((value) * (10))) 0) || (((0 * ((value) * (10)) - (1)) < 0) && ((value) * (10)) < ((-2147483647 -1L))) || (2147483647) < ((value) * (10))) ? (*(&value) = ((long int) ((unsigned long int) (value) * (unsigned long int) (10))), 1) : (*(&value) = ((long int) ((unsigned long int) (value) * (unsigned long int) (10))), 0))) : (sizeof ((value) * (10)) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) (value), (long long int) (10), (__typeof__ (((long long int) (value)) * ((long long int) (10)))) 0) || (((0 * (((long long int) (value)) * ((long long int) (10))) - (1)) < 0) && (((long long int) (value)) * ((long long int) (10))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (value)) * ((long long int) (10)))) ? (*(&value) = ((long long int) ((unsigned long long int) ((long long int) (value)) * (unsigned long long int) ((long long int) (10)))), 1) : (*(&value) = ((long long int) ((unsigned long long int) ((long long int) (value)) * (unsigned long long int) ((long long int) (10)))), 0)) : ((__builtin_mul_overflow_p (value, 10, (__typeof__ ((value) * (10))) 0) || (((0 * ((value) * (10)) - (1)) < 0) && ((value) * (10)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((value) * (10))) ? (*(&value) = ((long long int) ((unsigned long long int) (value) * (unsigned long long int) (10))), 1) : (*(&value) = ((long long int) ((unsigned long long int) (value) * (unsigned long long int) (10))), 0)))))) return '?'; if ((sizeof *(&value) == sizeof (signed char) ? (sizeof ((value) + (sign < 0 ? '0' - c : c - '0')) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (value), (signed char) (sign < 0 ? '0' - c : c - '0'), (__typeof__ (((signed char) (value)) + ((signed char) (sign < 0 ? '0' - c : c - '0')))) 0) || (((0 * (((signed char) (value)) + ((signed char) (sign < 0 ? '0' - c : c - '0'))) - (1)) < 0) && (((signed char) (value)) + ((signed char) (sign < 0 ? '0' - c : c - '0'))) < ((-127-1))) || (127) < (((signed char) (value)) + ((signed char) (sign < 0 ? '0' - c : c - '0')))) ? (*(&value) = ((signed char) ((unsigned int) ((signed char) (value)) + (unsigned int) ((signed char) (sign < 0 ? '0' - c : c - '0')))), 1) : (*(&value) = ((signed char) ((unsigned int) ((signed char) (value)) + (unsigned int) ((signed char) (sign < 0 ? '0' - c : c - '0')))), 0)) : ((__builtin_add_overflow_p (value, sign < 0 ? '0' - c : c - '0', (__typeof__ ((value) + (sign < 0 ? '0' - c : c - '0'))) 0) || (((0 * ((value) + (sign < 0 ? '0' - c : c - '0')) - (1)) < 0) && ((value) + (sign < 0 ? '0' - c : c - '0')) < ((-127-1))) || (127) < ((value) + (sign < 0 ? '0' - c : c - '0'))) ? (*(&value) = ((signed char) ((unsigned int) (value) + (unsigned int) (sign < 0 ? '0' - c : c - '0'))), 1) : (*(&value) = ((signed char) ((unsigned int) (value) + (unsigned int) (sign < 0 ? '0' - c : c - '0'))), 0))) : sizeof *(&value) == sizeof (short int) ? (sizeof ((value) + (sign < 0 ? '0' - c : c - '0')) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (value), (short int) (sign < 0 ? '0' - c : c - '0'), (__typeof__ (((short int) (value)) + ((short int) (sign < 0 ? '0' - c : c - '0')))) 0) || (((0 * (((short int) (value)) + ((short int) (sign < 0 ? '0' - c : c - '0'))) - (1)) < 0) && (((short int) (value)) + ((short int) (sign < 0 ? '0' - c : c - '0'))) < ((-32767 -1))) || (32767) < (((short int) (value)) + ((short int) (sign < 0 ? '0' - c : c - '0')))) ? (*(&value) = ((short int) ((unsigned int) ((short int) (value)) + (unsigned int) ((short int) (sign < 0 ? '0' - c : c - '0')))), 1) : (*(&value) = ((short int) ((unsigned int) ((short int) (value)) + (unsigned int) ((short int) (sign < 0 ? '0' - c : c - '0')))), 0)) : ((__builtin_add_overflow_p (value, sign < 0 ? '0' - c : c - '0', (__typeof__ ((value) + (sign < 0 ? '0' - c : c - '0'))) 0) || (((0 * ((value) + (sign < 0 ? '0' - c : c - '0')) - (1)) < 0) && ((value) + (sign < 0 ? '0' - c : c - '0')) < ((-32767 -1))) || (32767) < ((value) + (sign < 0 ? '0' - c : c - '0'))) ? (*(&value) = ((short int) ((unsigned int) (value) + (unsigned int) (sign < 0 ? '0' - c : c - '0'))), 1) : (*(&value) = ((short int) ((unsigned int) (value) + (unsigned int) (sign < 0 ? '0' - c : c - '0'))), 0))) : sizeof *(&value) == sizeof (int) ? (sizeof ((value) + (sign < 0 ? '0' - c : c - '0')) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (value), (int) (sign < 0 ? '0' - c : c - '0'), (__typeof__ (((int) (value)) + ((int) (sign < 0 ? '0' - c : c - '0')))) 0) || (((0 * (((int) (value)) + ((int) (sign < 0 ? '0' - c : c - '0'))) - (1)) < 0) && (((int) (value)) + ((int) (sign < 0 ? '0' - c : c - '0'))) < ((-2147483647 -1))) || (2147483647) < (((int) (value)) + ((int) (sign < 0 ? '0' - c : c - '0')))) ? (*(&value) = ((int) ((unsigned int) ((int) (value)) + (unsigned int) ((int) (sign < 0 ? '0' - c : c - '0')))), 1) : (*(&value) = ((int) ((unsigned int) ((int) (value)) + (unsigned int) ((int) (sign < 0 ? '0' - c : c - '0')))), 0)) : ((__builtin_add_overflow_p (value, sign < 0 ? '0' - c : c - '0', (__typeof__ ((value) + (sign < 0 ? '0' - c : c - '0'))) 0) || (((0 * ((value) + (sign < 0 ? '0' - c : c - '0')) - (1)) < 0) && ((value) + (sign < 0 ? '0' - c : c - '0')) < ((-2147483647 -1))) || (2147483647) < ((value) + (sign < 0 ? '0' - c : c - '0'))) ? (*(&value) = ((int) ((unsigned int) (value) + (unsigned int) (sign < 0 ? '0' - c : c - '0'))), 1) : (*(&value) = ((int) ((unsigned int) (value) + (unsigned int) (sign < 0 ? '0' - c : c - '0'))), 0))) : (sizeof *(&value) == sizeof (long int) ? (sizeof ((value) + (sign < 0 ? '0' - c : c - '0')) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (value), (long int) (sign < 0 ? '0' - c : c - '0'), (__typeof__ (((long int) (value)) + ((long int) (sign < 0 ? '0' - c : c - '0')))) 0) || (((0 * (((long int) (value)) + ((long int) (sign < 0 ? '0' - c : c - '0'))) - (1)) < 0) && (((long int) (value)) + ((long int) (sign < 0 ? '0' - c : c - '0'))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (value)) + ((long int) (sign < 0 ? '0' - c : c - '0')))) ? (*(&value) = ((long int) ((unsigned long int) ((long int) (value)) + (unsigned long int) ((long int) (sign < 0 ? '0' - c : c - '0')))), 1) : (*(&value) = ((long int) ((unsigned long int) ((long int) (value)) + (unsigned long int) ((long int) (sign < 0 ? '0' - c : c - '0')))), 0)) : ((__builtin_add_overflow_p (value, sign < 0 ? '0' - c : c - '0', (__typeof__ ((value) + (sign < 0 ? '0' - c : c - '0'))) 0) || (((0 * ((value) + (sign < 0 ? '0' - c : c - '0')) - (1)) < 0) && ((value) + (sign < 0 ? '0' - c : c - '0')) < ((-2147483647 -1L))) || (2147483647) < ((value) + (sign < 0 ? '0' - c : c - '0'))) ? (*(&value) = ((long int) ((unsigned long int) (value) + (unsigned long int) (sign < 0 ? '0' - c : c - '0'))), 1) : (*(&value) = ((long int) ((unsigned long int) (value) + (unsigned long int) (sign < 0 ? '0' - c : c - '0'))), 0))) : (sizeof ((value) + (sign < 0 ? '0' - c : c - '0')) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (value), (long long int) (sign < 0 ? '0' - c : c - '0'), (__typeof__ (((long long int) (value)) + ((long long int) (sign < 0 ? '0' - c : c - '0')))) 0) || (((0 * (((long long int) (value)) + ((long long int) (sign < 0 ? '0' - c : c - '0'))) - (1)) < 0) && (((long long int) (value)) + ((long long int) (sign < 0 ? '0' - c : c - '0'))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (value)) + ((long long int) (sign < 0 ? '0' - c : c - '0')))) ? (*(&value) = ((long long int) ((unsigned long long int) ((long long int) (value)) + (unsigned long long int) ((long long int) (sign < 0 ? '0' - c : c - '0')))), 1) : (*(&value) = ((long long int) ((unsigned long long int) ((long long int) (value)) + (unsigned long long int) ((long long int) (sign < 0 ? '0' - c : c - '0')))), 0)) : ((__builtin_add_overflow_p (value, sign < 0 ? '0' - c : c - '0', (__typeof__ ((value) + (sign < 0 ? '0' - c : c - '0'))) 0) || (((0 * ((value) + (sign < 0 ? '0' - c : c - '0')) - (1)) < 0) && ((value) + (sign < 0 ? '0' - c : c - '0')) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((value) + (sign < 0 ? '0' - c : c - '0'))) ? (*(&value) = ((long long int) ((unsigned long long int) (value) + (unsigned long long int) (sign < 0 ? '0' - c : c - '0'))), 1) : (*(&value) = ((long long int) ((unsigned long long int) (value) + (unsigned long long int) (sign < 0 ? '0' - c : c - '0'))), 0)))))) return '?'; c = *++p; } while (c_isdigit (c)); if ((c == '.' || c == ',') && c_isdigit (p[1])) { time_t s; int ns; int digits; if (time_overflow (value)) return '?'; s = value; p++; ns = *p++ - '0'; for (digits = 2; digits <= LOG10_BILLION; digits++) { ns *= 10; if (c_isdigit (*p)) ns += *p++ - '0'; } if (sign < 0) for (; c_isdigit (*p); p++) if (*p != '0') { ns++; break; } while (c_isdigit (*p)) p++; if (sign < 0 && ns) { if (s == ((time_t) ~ ((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1))))) return '?'; s--; ns = BILLION - ns; } lvalp->timespec.tv_sec = s; lvalp->timespec.tv_nsec = ns; pc->input = p; return sign ? 276 : 277; } else { lvalp->textintval.negative = sign < 0; lvalp->textintval.value = value; lvalp->textintval.digits = p - pc->input; pc->input = p; return sign ? 274 : 275; } } if (c_isalpha (c)) { char buff[20]; char *p = buff; table const *tp; do { if (p < buff + sizeof buff - 1) *p++ = c; c = *++pc->input; } while (c_isalpha (c) || c == '.'); *p = '\0'; tp = lookup_word (pc, buff); if (! tp) { if (pc->parse_datetime_debug) dbg_printf (gettext ("error: unknown word '%s'\n"), buff); return '?'; } lvalp->intval = tp->value; return tp->type; } if (c != '(') return to_uchar (*pc->input++); ptrdiff_t count = 0; do { c = *pc->input++; if (c == '\0') return c; if (c == '(') count++; else if (c == ')') count--; } while (count != 0); } } static int yyerror (parser_control const *pc __attribute__ ((__unused__)), char const *s __attribute__ ((__unused__))) { return 0; } static _Bool mktime_ok (timezone_t tz, struct tm const *tm0, struct tm const *tm1, time_t t) { struct tm ltm; if (t == (time_t) -1) { tm1 = localtime_rz (tz, &t, <m); if (!tm1) return 0; } return ! ((tm0->tm_sec ^ tm1->tm_sec) | (tm0->tm_min ^ tm1->tm_min) | (tm0->tm_hour ^ tm1->tm_hour) | (tm0->tm_mday ^ tm1->tm_mday) | (tm0->tm_mon ^ tm1->tm_mon) | (tm0->tm_year ^ tm1->tm_year)); } static char const * debug_strfdatetime (struct tm const *tm, parser_control const *pc, char *buf, int n) { int m = nstrftime (buf, n, "(Y-M-D) %Y-%m-%d %H:%M:%S", tm, 0, 0); if (pc && m < n && pc->zones_seen) { int tz = pc->time_zone; if (pc->local_zones_seen && !pc->zones_seen && 0 < pc->local_isdst) tz += 60 * 60; char time_zone_buf[TIME_ZONE_BUFSIZE]; snprintf (&buf[m], n - m, " TZ=%s", time_zone_str (tz, time_zone_buf)); } return buf; } static char const * debug_strfdate (struct tm const *tm, char *buf, int n) { char tm_year_buf[TM_YEAR_BUFSIZE]; snprintf (buf, n, "(Y-M-D) %s-%02d-%02d", tm_year_str (tm->tm_year, tm_year_buf), tm->tm_mon + 1, tm->tm_mday); return buf; } static char const * debug_strftime (struct tm const *tm, char *buf, int n) { snprintf (buf, n, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec); return buf; } static void debug_mktime_not_ok (struct tm const *tm0, struct tm const *tm1, parser_control const *pc, _Bool time_zone_seen) { char tmp[DBGBUFSIZE]; int i; const _Bool eq_sec = (tm0->tm_sec == tm1->tm_sec); const _Bool eq_min = (tm0->tm_min == tm1->tm_min); const _Bool eq_hour = (tm0->tm_hour == tm1->tm_hour); const _Bool eq_mday = (tm0->tm_mday == tm1->tm_mday); const _Bool eq_month = (tm0->tm_mon == tm1->tm_mon); const _Bool eq_year = (tm0->tm_year == tm1->tm_year); const _Bool dst_shift = eq_sec && eq_min && !eq_hour && eq_mday && eq_month && eq_year; if (!pc->parse_datetime_debug) return; dbg_printf (gettext ("error: invalid date/time value:\n")); dbg_printf (gettext (" user provided time: '%s'\n"), debug_strfdatetime (tm0, pc, tmp, sizeof tmp)); dbg_printf (gettext (" normalized time: '%s'\n"), debug_strfdatetime (tm1, pc, tmp, sizeof tmp)); i = snprintf (tmp, sizeof tmp, " %4s %2s %2s %2s %2s %2s", eq_year ? "" : "----", eq_month ? "" : "--", eq_mday ? "" : "--", eq_hour ? "" : "--", eq_min ? "" : "--", eq_sec ? "" : "--"); if (0 <= i) { if (sizeof tmp - 1 < i) i = sizeof tmp - 1; while (0 < i && tmp[i - 1] == ' ') --i; tmp[i] = '\0'; } dbg_printf ("%s\n", tmp); dbg_printf (gettext (" possible reasons:\n")); if (dst_shift) dbg_printf (gettext (" non-existing due to daylight-saving time;\n")); if (!eq_mday && !eq_month) dbg_printf (gettext (" invalid day/month combination;\n")); dbg_printf (gettext (" numeric values overflow;\n")); dbg_printf (" %s\n", (time_zone_seen ? gettext ("incorrect timezone") : gettext ("missing timezone"))); } _Bool parse_datetime (struct timespec *result, char const *p, struct timespec const *now) { char const *tzstring = getenv ("TZ"); timezone_t tz = tzalloc (tzstring); if (!tz) return 0; _Bool ok = parse_datetime2 (result, p, now, 0, tz, tzstring); tzfree (tz); return ok; } _Bool parse_datetime2 (struct timespec *result, char const *p, struct timespec const *now, unsigned int flags, timezone_t tzdefault, char const *tzstring) { struct tm tm; struct tm tm0; char time_zone_buf[TIME_ZONE_BUFSIZE]; char dbg_tm[DBGBUFSIZE]; _Bool ok = 0; char const *input_sentinel = p + strlen (p); char *tz1alloc = ((void*)0); enum { TZBUFSIZE = 100 }; char tz1buf[TZBUFSIZE]; struct timespec gettime_buffer; if (! now) { gettime (&gettime_buffer); now = &gettime_buffer; } time_t Start = now->tv_sec; int Start_ns = now->tv_nsec; unsigned char c; while (c = *p, c_isspace (c)) p++; timezone_t tz = tzdefault; const relative_time rel_time_0 = ((relative_time) { 0, 0, 0, 0, 0, 0, 0 }); if (strncmp (p, "TZ=\"", 4) == 0) { char const *tzbase = p + 4; ptrdiff_t tzsize = 1; char const *s; for (s = tzbase; *s; s++, tzsize++) if (*s == '\\') { s++; if (! (*s == '\\' || *s == '"')) break; } else if (*s == '"') { timezone_t tz1; char *tz1string = tz1buf; char *z; if (TZBUFSIZE < tzsize) { tz1alloc = malloc (tzsize); if (!tz1alloc) goto fail; tz1string = tz1alloc; } z = tz1string; for (s = tzbase; *s != '"'; s++) *z++ = *(s += *s == '\\'); *z = '\0'; tz1 = tzalloc (tz1string); if (!tz1) goto fail; tz = tz1; tzstring = tz1string; p = s + 1; while (c = *p, c_isspace (c)) p++; break; } } struct tm tmp; if (! localtime_rz (tz, &now->tv_sec, &tmp)) goto fail; if (*p == '\0') p = "0"; parser_control pc; pc.input = p; pc.parse_datetime_debug = (flags & 1) != 0; if ((sizeof *(&pc . year . value) == sizeof (signed char) ? (sizeof ((tmp . tm_year) + (TM_YEAR_BASE)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (tmp . tm_year), (signed char) (TM_YEAR_BASE), (__typeof__ (((signed char) (tmp . tm_year)) + ((signed char) (TM_YEAR_BASE)))) 0) || (((0 * (((signed char) (tmp . tm_year)) + ((signed char) (TM_YEAR_BASE))) - (1)) < 0) && (((signed char) (tmp . tm_year)) + ((signed char) (TM_YEAR_BASE))) < ((-127-1))) || (127) < (((signed char) (tmp . tm_year)) + ((signed char) (TM_YEAR_BASE)))) ? (*(&pc . year . value) = ((signed char) ((unsigned int) ((signed char) (tmp . tm_year)) + (unsigned int) ((signed char) (TM_YEAR_BASE)))), 1) : (*(&pc . year . value) = ((signed char) ((unsigned int) ((signed char) (tmp . tm_year)) + (unsigned int) ((signed char) (TM_YEAR_BASE)))), 0)) : ((__builtin_add_overflow_p (tmp . tm_year, TM_YEAR_BASE, (__typeof__ ((tmp . tm_year) + (TM_YEAR_BASE))) 0) || (((0 * ((tmp . tm_year) + (TM_YEAR_BASE)) - (1)) < 0) && ((tmp . tm_year) + (TM_YEAR_BASE)) < ((-127-1))) || (127) < ((tmp . tm_year) + (TM_YEAR_BASE))) ? (*(&pc . year . value) = ((signed char) ((unsigned int) (tmp . tm_year) + (unsigned int) (TM_YEAR_BASE))), 1) : (*(&pc . year . value) = ((signed char) ((unsigned int) (tmp . tm_year) + (unsigned int) (TM_YEAR_BASE))), 0))) : sizeof *(&pc . year . value) == sizeof (short int) ? (sizeof ((tmp . tm_year) + (TM_YEAR_BASE)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (tmp . tm_year), (short int) (TM_YEAR_BASE), (__typeof__ (((short int) (tmp . tm_year)) + ((short int) (TM_YEAR_BASE)))) 0) || (((0 * (((short int) (tmp . tm_year)) + ((short int) (TM_YEAR_BASE))) - (1)) < 0) && (((short int) (tmp . tm_year)) + ((short int) (TM_YEAR_BASE))) < ((-32767 -1))) || (32767) < (((short int) (tmp . tm_year)) + ((short int) (TM_YEAR_BASE)))) ? (*(&pc . year . value) = ((short int) ((unsigned int) ((short int) (tmp . tm_year)) + (unsigned int) ((short int) (TM_YEAR_BASE)))), 1) : (*(&pc . year . value) = ((short int) ((unsigned int) ((short int) (tmp . tm_year)) + (unsigned int) ((short int) (TM_YEAR_BASE)))), 0)) : ((__builtin_add_overflow_p (tmp . tm_year, TM_YEAR_BASE, (__typeof__ ((tmp . tm_year) + (TM_YEAR_BASE))) 0) || (((0 * ((tmp . tm_year) + (TM_YEAR_BASE)) - (1)) < 0) && ((tmp . tm_year) + (TM_YEAR_BASE)) < ((-32767 -1))) || (32767) < ((tmp . tm_year) + (TM_YEAR_BASE))) ? (*(&pc . year . value) = ((short int) ((unsigned int) (tmp . tm_year) + (unsigned int) (TM_YEAR_BASE))), 1) : (*(&pc . year . value) = ((short int) ((unsigned int) (tmp . tm_year) + (unsigned int) (TM_YEAR_BASE))), 0))) : sizeof *(&pc . year . value) == sizeof (int) ? (sizeof ((tmp . tm_year) + (TM_YEAR_BASE)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (tmp . tm_year), (int) (TM_YEAR_BASE), (__typeof__ (((int) (tmp . tm_year)) + ((int) (TM_YEAR_BASE)))) 0) || (((0 * (((int) (tmp . tm_year)) + ((int) (TM_YEAR_BASE))) - (1)) < 0) && (((int) (tmp . tm_year)) + ((int) (TM_YEAR_BASE))) < ((-2147483647 -1))) || (2147483647) < (((int) (tmp . tm_year)) + ((int) (TM_YEAR_BASE)))) ? (*(&pc . year . value) = ((int) ((unsigned int) ((int) (tmp . tm_year)) + (unsigned int) ((int) (TM_YEAR_BASE)))), 1) : (*(&pc . year . value) = ((int) ((unsigned int) ((int) (tmp . tm_year)) + (unsigned int) ((int) (TM_YEAR_BASE)))), 0)) : ((__builtin_add_overflow_p (tmp . tm_year, TM_YEAR_BASE, (__typeof__ ((tmp . tm_year) + (TM_YEAR_BASE))) 0) || (((0 * ((tmp . tm_year) + (TM_YEAR_BASE)) - (1)) < 0) && ((tmp . tm_year) + (TM_YEAR_BASE)) < ((-2147483647 -1))) || (2147483647) < ((tmp . tm_year) + (TM_YEAR_BASE))) ? (*(&pc . year . value) = ((int) ((unsigned int) (tmp . tm_year) + (unsigned int) (TM_YEAR_BASE))), 1) : (*(&pc . year . value) = ((int) ((unsigned int) (tmp . tm_year) + (unsigned int) (TM_YEAR_BASE))), 0))) : (sizeof *(&pc . year . value) == sizeof (long int) ? (sizeof ((tmp . tm_year) + (TM_YEAR_BASE)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (tmp . tm_year), (long int) (TM_YEAR_BASE), (__typeof__ (((long int) (tmp . tm_year)) + ((long int) (TM_YEAR_BASE)))) 0) || (((0 * (((long int) (tmp . tm_year)) + ((long int) (TM_YEAR_BASE))) - (1)) < 0) && (((long int) (tmp . tm_year)) + ((long int) (TM_YEAR_BASE))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (tmp . tm_year)) + ((long int) (TM_YEAR_BASE)))) ? (*(&pc . year . value) = ((long int) ((unsigned long int) ((long int) (tmp . tm_year)) + (unsigned long int) ((long int) (TM_YEAR_BASE)))), 1) : (*(&pc . year . value) = ((long int) ((unsigned long int) ((long int) (tmp . tm_year)) + (unsigned long int) ((long int) (TM_YEAR_BASE)))), 0)) : ((__builtin_add_overflow_p (tmp . tm_year, TM_YEAR_BASE, (__typeof__ ((tmp . tm_year) + (TM_YEAR_BASE))) 0) || (((0 * ((tmp . tm_year) + (TM_YEAR_BASE)) - (1)) < 0) && ((tmp . tm_year) + (TM_YEAR_BASE)) < ((-2147483647 -1L))) || (2147483647) < ((tmp . tm_year) + (TM_YEAR_BASE))) ? (*(&pc . year . value) = ((long int) ((unsigned long int) (tmp . tm_year) + (unsigned long int) (TM_YEAR_BASE))), 1) : (*(&pc . year . value) = ((long int) ((unsigned long int) (tmp . tm_year) + (unsigned long int) (TM_YEAR_BASE))), 0))) : (sizeof ((tmp . tm_year) + (TM_YEAR_BASE)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (tmp . tm_year), (long long int) (TM_YEAR_BASE), (__typeof__ (((long long int) (tmp . tm_year)) + ((long long int) (TM_YEAR_BASE)))) 0) || (((0 * (((long long int) (tmp . tm_year)) + ((long long int) (TM_YEAR_BASE))) - (1)) < 0) && (((long long int) (tmp . tm_year)) + ((long long int) (TM_YEAR_BASE))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (tmp . tm_year)) + ((long long int) (TM_YEAR_BASE)))) ? (*(&pc . year . value) = ((long long int) ((unsigned long long int) ((long long int) (tmp . tm_year)) + (unsigned long long int) ((long long int) (TM_YEAR_BASE)))), 1) : (*(&pc . year . value) = ((long long int) ((unsigned long long int) ((long long int) (tmp . tm_year)) + (unsigned long long int) ((long long int) (TM_YEAR_BASE)))), 0)) : ((__builtin_add_overflow_p (tmp . tm_year, TM_YEAR_BASE, (__typeof__ ((tmp . tm_year) + (TM_YEAR_BASE))) 0) || (((0 * ((tmp . tm_year) + (TM_YEAR_BASE)) - (1)) < 0) && ((tmp . tm_year) + (TM_YEAR_BASE)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((tmp . tm_year) + (TM_YEAR_BASE))) ? (*(&pc . year . value) = ((long long int) ((unsigned long long int) (tmp . tm_year) + (unsigned long long int) (TM_YEAR_BASE))), 1) : (*(&pc . year . value) = ((long long int) ((unsigned long long int) (tmp . tm_year) + (unsigned long long int) (TM_YEAR_BASE))), 0)))))) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: initial year out of range\n")); goto fail; } pc.year.digits = 0; pc.month = tmp.tm_mon + 1; pc.day = tmp.tm_mday; pc.hour = tmp.tm_hour; pc.minutes = tmp.tm_min; pc.seconds.tv_sec = tmp.tm_sec; pc.seconds.tv_nsec = Start_ns; tm.tm_isdst = tmp.tm_isdst; pc.meridian = MER24; pc.rel = rel_time_0; pc.timespec_seen = 0; pc.rels_seen = 0; pc.dates_seen = 0; pc.days_seen = 0; pc.times_seen = 0; pc.local_zones_seen = 0; pc.dsts_seen = 0; pc.zones_seen = 0; pc.year_seen = 0; pc.debug_dates_seen = 0; pc.debug_days_seen = 0; pc.debug_times_seen = 0; pc.debug_local_zones_seen = 0; pc.debug_zones_seen = 0; pc.debug_year_seen = 0; pc.debug_ordinal_day_seen = 0; pc.local_time_zone_table[0].name = tmp.tm_zone; pc.local_time_zone_table[0].type = 269; pc.local_time_zone_table[0].value = tmp.tm_isdst; pc.local_time_zone_table[1].name = ((void*)0); { int quarter; for (quarter = 1; quarter <= 3; quarter++) { intmax_t iprobe; if ((sizeof *(&iprobe) == sizeof (signed char) ? (sizeof ((Start) + (quarter * (90 * 24 * 60 * 60))) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (Start), (signed char) (quarter * (90 * 24 * 60 * 60)), (__typeof__ (((signed char) (Start)) + ((signed char) (quarter * (90 * 24 * 60 * 60))))) 0) || (((0 * (((signed char) (Start)) + ((signed char) (quarter * (90 * 24 * 60 * 60)))) - (1)) < 0) && (((signed char) (Start)) + ((signed char) (quarter * (90 * 24 * 60 * 60)))) < ((-127-1))) || (127) < (((signed char) (Start)) + ((signed char) (quarter * (90 * 24 * 60 * 60))))) ? (*(&iprobe) = ((signed char) ((unsigned int) ((signed char) (Start)) + (unsigned int) ((signed char) (quarter * (90 * 24 * 60 * 60))))), 1) : (*(&iprobe) = ((signed char) ((unsigned int) ((signed char) (Start)) + (unsigned int) ((signed char) (quarter * (90 * 24 * 60 * 60))))), 0)) : ((__builtin_add_overflow_p (Start, quarter * (90 * 24 * 60 * 60), (__typeof__ ((Start) + (quarter * (90 * 24 * 60 * 60)))) 0) || (((0 * ((Start) + (quarter * (90 * 24 * 60 * 60))) - (1)) < 0) && ((Start) + (quarter * (90 * 24 * 60 * 60))) < ((-127-1))) || (127) < ((Start) + (quarter * (90 * 24 * 60 * 60)))) ? (*(&iprobe) = ((signed char) ((unsigned int) (Start) + (unsigned int) (quarter * (90 * 24 * 60 * 60)))), 1) : (*(&iprobe) = ((signed char) ((unsigned int) (Start) + (unsigned int) (quarter * (90 * 24 * 60 * 60)))), 0))) : sizeof *(&iprobe) == sizeof (short int) ? (sizeof ((Start) + (quarter * (90 * 24 * 60 * 60))) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (Start), (short int) (quarter * (90 * 24 * 60 * 60)), (__typeof__ (((short int) (Start)) + ((short int) (quarter * (90 * 24 * 60 * 60))))) 0) || (((0 * (((short int) (Start)) + ((short int) (quarter * (90 * 24 * 60 * 60)))) - (1)) < 0) && (((short int) (Start)) + ((short int) (quarter * (90 * 24 * 60 * 60)))) < ((-32767 -1))) || (32767) < (((short int) (Start)) + ((short int) (quarter * (90 * 24 * 60 * 60))))) ? (*(&iprobe) = ((short int) ((unsigned int) ((short int) (Start)) + (unsigned int) ((short int) (quarter * (90 * 24 * 60 * 60))))), 1) : (*(&iprobe) = ((short int) ((unsigned int) ((short int) (Start)) + (unsigned int) ((short int) (quarter * (90 * 24 * 60 * 60))))), 0)) : ((__builtin_add_overflow_p (Start, quarter * (90 * 24 * 60 * 60), (__typeof__ ((Start) + (quarter * (90 * 24 * 60 * 60)))) 0) || (((0 * ((Start) + (quarter * (90 * 24 * 60 * 60))) - (1)) < 0) && ((Start) + (quarter * (90 * 24 * 60 * 60))) < ((-32767 -1))) || (32767) < ((Start) + (quarter * (90 * 24 * 60 * 60)))) ? (*(&iprobe) = ((short int) ((unsigned int) (Start) + (unsigned int) (quarter * (90 * 24 * 60 * 60)))), 1) : (*(&iprobe) = ((short int) ((unsigned int) (Start) + (unsigned int) (quarter * (90 * 24 * 60 * 60)))), 0))) : sizeof *(&iprobe) == sizeof (int) ? (sizeof ((Start) + (quarter * (90 * 24 * 60 * 60))) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (Start), (int) (quarter * (90 * 24 * 60 * 60)), (__typeof__ (((int) (Start)) + ((int) (quarter * (90 * 24 * 60 * 60))))) 0) || (((0 * (((int) (Start)) + ((int) (quarter * (90 * 24 * 60 * 60)))) - (1)) < 0) && (((int) (Start)) + ((int) (quarter * (90 * 24 * 60 * 60)))) < ((-2147483647 -1))) || (2147483647) < (((int) (Start)) + ((int) (quarter * (90 * 24 * 60 * 60))))) ? (*(&iprobe) = ((int) ((unsigned int) ((int) (Start)) + (unsigned int) ((int) (quarter * (90 * 24 * 60 * 60))))), 1) : (*(&iprobe) = ((int) ((unsigned int) ((int) (Start)) + (unsigned int) ((int) (quarter * (90 * 24 * 60 * 60))))), 0)) : ((__builtin_add_overflow_p (Start, quarter * (90 * 24 * 60 * 60), (__typeof__ ((Start) + (quarter * (90 * 24 * 60 * 60)))) 0) || (((0 * ((Start) + (quarter * (90 * 24 * 60 * 60))) - (1)) < 0) && ((Start) + (quarter * (90 * 24 * 60 * 60))) < ((-2147483647 -1))) || (2147483647) < ((Start) + (quarter * (90 * 24 * 60 * 60)))) ? (*(&iprobe) = ((int) ((unsigned int) (Start) + (unsigned int) (quarter * (90 * 24 * 60 * 60)))), 1) : (*(&iprobe) = ((int) ((unsigned int) (Start) + (unsigned int) (quarter * (90 * 24 * 60 * 60)))), 0))) : (sizeof *(&iprobe) == sizeof (long int) ? (sizeof ((Start) + (quarter * (90 * 24 * 60 * 60))) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (Start), (long int) (quarter * (90 * 24 * 60 * 60)), (__typeof__ (((long int) (Start)) + ((long int) (quarter * (90 * 24 * 60 * 60))))) 0) || (((0 * (((long int) (Start)) + ((long int) (quarter * (90 * 24 * 60 * 60)))) - (1)) < 0) && (((long int) (Start)) + ((long int) (quarter * (90 * 24 * 60 * 60)))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (Start)) + ((long int) (quarter * (90 * 24 * 60 * 60))))) ? (*(&iprobe) = ((long int) ((unsigned long int) ((long int) (Start)) + (unsigned long int) ((long int) (quarter * (90 * 24 * 60 * 60))))), 1) : (*(&iprobe) = ((long int) ((unsigned long int) ((long int) (Start)) + (unsigned long int) ((long int) (quarter * (90 * 24 * 60 * 60))))), 0)) : ((__builtin_add_overflow_p (Start, quarter * (90 * 24 * 60 * 60), (__typeof__ ((Start) + (quarter * (90 * 24 * 60 * 60)))) 0) || (((0 * ((Start) + (quarter * (90 * 24 * 60 * 60))) - (1)) < 0) && ((Start) + (quarter * (90 * 24 * 60 * 60))) < ((-2147483647 -1L))) || (2147483647) < ((Start) + (quarter * (90 * 24 * 60 * 60)))) ? (*(&iprobe) = ((long int) ((unsigned long int) (Start) + (unsigned long int) (quarter * (90 * 24 * 60 * 60)))), 1) : (*(&iprobe) = ((long int) ((unsigned long int) (Start) + (unsigned long int) (quarter * (90 * 24 * 60 * 60)))), 0))) : (sizeof ((Start) + (quarter * (90 * 24 * 60 * 60))) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (Start), (long long int) (quarter * (90 * 24 * 60 * 60)), (__typeof__ (((long long int) (Start)) + ((long long int) (quarter * (90 * 24 * 60 * 60))))) 0) || (((0 * (((long long int) (Start)) + ((long long int) (quarter * (90 * 24 * 60 * 60)))) - (1)) < 0) && (((long long int) (Start)) + ((long long int) (quarter * (90 * 24 * 60 * 60)))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (Start)) + ((long long int) (quarter * (90 * 24 * 60 * 60))))) ? (*(&iprobe) = ((long long int) ((unsigned long long int) ((long long int) (Start)) + (unsigned long long int) ((long long int) (quarter * (90 * 24 * 60 * 60))))), 1) : (*(&iprobe) = ((long long int) ((unsigned long long int) ((long long int) (Start)) + (unsigned long long int) ((long long int) (quarter * (90 * 24 * 60 * 60))))), 0)) : ((__builtin_add_overflow_p (Start, quarter * (90 * 24 * 60 * 60), (__typeof__ ((Start) + (quarter * (90 * 24 * 60 * 60)))) 0) || (((0 * ((Start) + (quarter * (90 * 24 * 60 * 60))) - (1)) < 0) && ((Start) + (quarter * (90 * 24 * 60 * 60))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((Start) + (quarter * (90 * 24 * 60 * 60)))) ? (*(&iprobe) = ((long long int) ((unsigned long long int) (Start) + (unsigned long long int) (quarter * (90 * 24 * 60 * 60)))), 1) : (*(&iprobe) = ((long long int) ((unsigned long long int) (Start) + (unsigned long long int) (quarter * (90 * 24 * 60 * 60)))), 0))))) || time_overflow (iprobe)) break; time_t probe = iprobe; struct tm probe_tm; if (localtime_rz (tz, &probe, &probe_tm) && probe_tm.tm_zone && probe_tm.tm_isdst != pc.local_time_zone_table[0].value) { { pc.local_time_zone_table[1].name = probe_tm.tm_zone; pc.local_time_zone_table[1].type = 269; pc.local_time_zone_table[1].value = probe_tm.tm_isdst; pc.local_time_zone_table[2].name = ((void*)0); } break; } } } # 1914 "parse-datetime.y" if (pc.local_time_zone_table[0].name && pc.local_time_zone_table[1].name && ! strcmp (pc.local_time_zone_table[0].name, pc.local_time_zone_table[1].name)) { pc.local_time_zone_table[0].value = -1; pc.local_time_zone_table[1].name = ((void*)0); } if (yyparse (&pc) != 0) { if (pc.parse_datetime_debug) dbg_printf ((input_sentinel <= pc.input ? gettext ("error: parsing failed\n") : gettext ("error: parsing failed, stopped at '%s'\n")), pc.input); goto fail; } if (pc.parse_datetime_debug) { dbg_printf (gettext ("input timezone: ")); if (pc.timespec_seen) fprintf (stderr, gettext ("'@timespec' - always UTC")); else if (pc.zones_seen) fprintf (stderr, gettext ("parsed date/time string")); else if (tzstring) { if (tz != tzdefault) fprintf (stderr, gettext ("TZ=\"%s\" in date string"), tzstring); else if ((strcmp (tzstring, "UTC0") == 0)) { fprintf (stderr, gettext ("TZ=\"UTC0\" environment value or -u")); } else fprintf (stderr, gettext ("TZ=\"%s\" environment value"), tzstring); } else fprintf (stderr, gettext ("system default")); if (pc.local_zones_seen && !pc.zones_seen && 0 < pc.local_isdst) fprintf (stderr, ", dst"); if (pc.zones_seen) fprintf (stderr, " (%s)", time_zone_str (pc.time_zone, time_zone_buf)); fputc ('\n', stderr); } if (pc.timespec_seen) *result = pc.seconds; else { if (1 < (pc.times_seen | pc.dates_seen | pc.days_seen | pc.dsts_seen | (pc.local_zones_seen + pc.zones_seen))) { if (pc.parse_datetime_debug) { if (pc.times_seen > 1) dbg_printf ("error: seen multiple time parts\n"); if (pc.dates_seen > 1) dbg_printf ("error: seen multiple date parts\n"); if (pc.days_seen > 1) dbg_printf ("error: seen multiple days parts\n"); if (pc.dsts_seen > 1) dbg_printf ("error: seen multiple daylight-saving parts\n"); if ((pc.local_zones_seen + pc.zones_seen) > 1) dbg_printf ("error: seen multiple time-zone parts\n"); } goto fail; } if (! to_tm_year (pc.year, pc.parse_datetime_debug, &tm.tm_year) || (sizeof *(&tm . tm_mon) == sizeof (signed char) ? (sizeof ((pc . month) + (-1)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (pc . month), (signed char) (-1), (__typeof__ (((signed char) (pc . month)) + ((signed char) (-1)))) 0) || (((0 * (((signed char) (pc . month)) + ((signed char) (-1))) - (1)) < 0) && (((signed char) (pc . month)) + ((signed char) (-1))) < ((-127-1))) || (127) < (((signed char) (pc . month)) + ((signed char) (-1)))) ? (*(&tm . tm_mon) = ((signed char) ((unsigned int) ((signed char) (pc . month)) + (unsigned int) ((signed char) (-1)))), 1) : (*(&tm . tm_mon) = ((signed char) ((unsigned int) ((signed char) (pc . month)) + (unsigned int) ((signed char) (-1)))), 0)) : ((__builtin_add_overflow_p (pc . month, -1, (__typeof__ ((pc . month) + (-1))) 0) || (((0 * ((pc . month) + (-1)) - (1)) < 0) && ((pc . month) + (-1)) < ((-127-1))) || (127) < ((pc . month) + (-1))) ? (*(&tm . tm_mon) = ((signed char) ((unsigned int) (pc . month) + (unsigned int) (-1))), 1) : (*(&tm . tm_mon) = ((signed char) ((unsigned int) (pc . month) + (unsigned int) (-1))), 0))) : sizeof *(&tm . tm_mon) == sizeof (short int) ? (sizeof ((pc . month) + (-1)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (pc . month), (short int) (-1), (__typeof__ (((short int) (pc . month)) + ((short int) (-1)))) 0) || (((0 * (((short int) (pc . month)) + ((short int) (-1))) - (1)) < 0) && (((short int) (pc . month)) + ((short int) (-1))) < ((-32767 -1))) || (32767) < (((short int) (pc . month)) + ((short int) (-1)))) ? (*(&tm . tm_mon) = ((short int) ((unsigned int) ((short int) (pc . month)) + (unsigned int) ((short int) (-1)))), 1) : (*(&tm . tm_mon) = ((short int) ((unsigned int) ((short int) (pc . month)) + (unsigned int) ((short int) (-1)))), 0)) : ((__builtin_add_overflow_p (pc . month, -1, (__typeof__ ((pc . month) + (-1))) 0) || (((0 * ((pc . month) + (-1)) - (1)) < 0) && ((pc . month) + (-1)) < ((-32767 -1))) || (32767) < ((pc . month) + (-1))) ? (*(&tm . tm_mon) = ((short int) ((unsigned int) (pc . month) + (unsigned int) (-1))), 1) : (*(&tm . tm_mon) = ((short int) ((unsigned int) (pc . month) + (unsigned int) (-1))), 0))) : sizeof *(&tm . tm_mon) == sizeof (int) ? (sizeof ((pc . month) + (-1)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (pc . month), (int) (-1), (__typeof__ (((int) (pc . month)) + ((int) (-1)))) 0) || (((0 * (((int) (pc . month)) + ((int) (-1))) - (1)) < 0) && (((int) (pc . month)) + ((int) (-1))) < ((-2147483647 -1))) || (2147483647) < (((int) (pc . month)) + ((int) (-1)))) ? (*(&tm . tm_mon) = ((int) ((unsigned int) ((int) (pc . month)) + (unsigned int) ((int) (-1)))), 1) : (*(&tm . tm_mon) = ((int) ((unsigned int) ((int) (pc . month)) + (unsigned int) ((int) (-1)))), 0)) : ((__builtin_add_overflow_p (pc . month, -1, (__typeof__ ((pc . month) + (-1))) 0) || (((0 * ((pc . month) + (-1)) - (1)) < 0) && ((pc . month) + (-1)) < ((-2147483647 -1))) || (2147483647) < ((pc . month) + (-1))) ? (*(&tm . tm_mon) = ((int) ((unsigned int) (pc . month) + (unsigned int) (-1))), 1) : (*(&tm . tm_mon) = ((int) ((unsigned int) (pc . month) + (unsigned int) (-1))), 0))) : (sizeof *(&tm . tm_mon) == sizeof (long int) ? (sizeof ((pc . month) + (-1)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (pc . month), (long int) (-1), (__typeof__ (((long int) (pc . month)) + ((long int) (-1)))) 0) || (((0 * (((long int) (pc . month)) + ((long int) (-1))) - (1)) < 0) && (((long int) (pc . month)) + ((long int) (-1))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (pc . month)) + ((long int) (-1)))) ? (*(&tm . tm_mon) = ((long int) ((unsigned long int) ((long int) (pc . month)) + (unsigned long int) ((long int) (-1)))), 1) : (*(&tm . tm_mon) = ((long int) ((unsigned long int) ((long int) (pc . month)) + (unsigned long int) ((long int) (-1)))), 0)) : ((__builtin_add_overflow_p (pc . month, -1, (__typeof__ ((pc . month) + (-1))) 0) || (((0 * ((pc . month) + (-1)) - (1)) < 0) && ((pc . month) + (-1)) < ((-2147483647 -1L))) || (2147483647) < ((pc . month) + (-1))) ? (*(&tm . tm_mon) = ((long int) ((unsigned long int) (pc . month) + (unsigned long int) (-1))), 1) : (*(&tm . tm_mon) = ((long int) ((unsigned long int) (pc . month) + (unsigned long int) (-1))), 0))) : (sizeof ((pc . month) + (-1)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (pc . month), (long long int) (-1), (__typeof__ (((long long int) (pc . month)) + ((long long int) (-1)))) 0) || (((0 * (((long long int) (pc . month)) + ((long long int) (-1))) - (1)) < 0) && (((long long int) (pc . month)) + ((long long int) (-1))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (pc . month)) + ((long long int) (-1)))) ? (*(&tm . tm_mon) = ((long long int) ((unsigned long long int) ((long long int) (pc . month)) + (unsigned long long int) ((long long int) (-1)))), 1) : (*(&tm . tm_mon) = ((long long int) ((unsigned long long int) ((long long int) (pc . month)) + (unsigned long long int) ((long long int) (-1)))), 0)) : ((__builtin_add_overflow_p (pc . month, -1, (__typeof__ ((pc . month) + (-1))) 0) || (((0 * ((pc . month) + (-1)) - (1)) < 0) && ((pc . month) + (-1)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((pc . month) + (-1))) ? (*(&tm . tm_mon) = ((long long int) ((unsigned long long int) (pc . month) + (unsigned long long int) (-1))), 1) : (*(&tm . tm_mon) = ((long long int) ((unsigned long long int) (pc . month) + (unsigned long long int) (-1))), 0))))) || (sizeof *(&tm . tm_mday) == sizeof (signed char) ? (sizeof ((pc . day) + (0)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (pc . day), (signed char) (0), (__typeof__ (((signed char) (pc . day)) + ((signed char) (0)))) 0) || (((0 * (((signed char) (pc . day)) + ((signed char) (0))) - (1)) < 0) && (((signed char) (pc . day)) + ((signed char) (0))) < ((-127-1))) || (127) < (((signed char) (pc . day)) + ((signed char) (0)))) ? (*(&tm . tm_mday) = ((signed char) ((unsigned int) ((signed char) (pc . day)) + (unsigned int) ((signed char) (0)))), 1) : (*(&tm . tm_mday) = ((signed char) ((unsigned int) ((signed char) (pc . day)) + (unsigned int) ((signed char) (0)))), 0)) : ((__builtin_add_overflow_p (pc . day, 0, (__typeof__ ((pc . day) + (0))) 0) || (((0 * ((pc . day) + (0)) - (1)) < 0) && ((pc . day) + (0)) < ((-127-1))) || (127) < ((pc . day) + (0))) ? (*(&tm . tm_mday) = ((signed char) ((unsigned int) (pc . day) + (unsigned int) (0))), 1) : (*(&tm . tm_mday) = ((signed char) ((unsigned int) (pc . day) + (unsigned int) (0))), 0))) : sizeof *(&tm . tm_mday) == sizeof (short int) ? (sizeof ((pc . day) + (0)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (pc . day), (short int) (0), (__typeof__ (((short int) (pc . day)) + ((short int) (0)))) 0) || (((0 * (((short int) (pc . day)) + ((short int) (0))) - (1)) < 0) && (((short int) (pc . day)) + ((short int) (0))) < ((-32767 -1))) || (32767) < (((short int) (pc . day)) + ((short int) (0)))) ? (*(&tm . tm_mday) = ((short int) ((unsigned int) ((short int) (pc . day)) + (unsigned int) ((short int) (0)))), 1) : (*(&tm . tm_mday) = ((short int) ((unsigned int) ((short int) (pc . day)) + (unsigned int) ((short int) (0)))), 0)) : ((__builtin_add_overflow_p (pc . day, 0, (__typeof__ ((pc . day) + (0))) 0) || (((0 * ((pc . day) + (0)) - (1)) < 0) && ((pc . day) + (0)) < ((-32767 -1))) || (32767) < ((pc . day) + (0))) ? (*(&tm . tm_mday) = ((short int) ((unsigned int) (pc . day) + (unsigned int) (0))), 1) : (*(&tm . tm_mday) = ((short int) ((unsigned int) (pc . day) + (unsigned int) (0))), 0))) : sizeof *(&tm . tm_mday) == sizeof (int) ? (sizeof ((pc . day) + (0)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (pc . day), (int) (0), (__typeof__ (((int) (pc . day)) + ((int) (0)))) 0) || (((0 * (((int) (pc . day)) + ((int) (0))) - (1)) < 0) && (((int) (pc . day)) + ((int) (0))) < ((-2147483647 -1))) || (2147483647) < (((int) (pc . day)) + ((int) (0)))) ? (*(&tm . tm_mday) = ((int) ((unsigned int) ((int) (pc . day)) + (unsigned int) ((int) (0)))), 1) : (*(&tm . tm_mday) = ((int) ((unsigned int) ((int) (pc . day)) + (unsigned int) ((int) (0)))), 0)) : ((__builtin_add_overflow_p (pc . day, 0, (__typeof__ ((pc . day) + (0))) 0) || (((0 * ((pc . day) + (0)) - (1)) < 0) && ((pc . day) + (0)) < ((-2147483647 -1))) || (2147483647) < ((pc . day) + (0))) ? (*(&tm . tm_mday) = ((int) ((unsigned int) (pc . day) + (unsigned int) (0))), 1) : (*(&tm . tm_mday) = ((int) ((unsigned int) (pc . day) + (unsigned int) (0))), 0))) : (sizeof *(&tm . tm_mday) == sizeof (long int) ? (sizeof ((pc . day) + (0)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (pc . day), (long int) (0), (__typeof__ (((long int) (pc . day)) + ((long int) (0)))) 0) || (((0 * (((long int) (pc . day)) + ((long int) (0))) - (1)) < 0) && (((long int) (pc . day)) + ((long int) (0))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (pc . day)) + ((long int) (0)))) ? (*(&tm . tm_mday) = ((long int) ((unsigned long int) ((long int) (pc . day)) + (unsigned long int) ((long int) (0)))), 1) : (*(&tm . tm_mday) = ((long int) ((unsigned long int) ((long int) (pc . day)) + (unsigned long int) ((long int) (0)))), 0)) : ((__builtin_add_overflow_p (pc . day, 0, (__typeof__ ((pc . day) + (0))) 0) || (((0 * ((pc . day) + (0)) - (1)) < 0) && ((pc . day) + (0)) < ((-2147483647 -1L))) || (2147483647) < ((pc . day) + (0))) ? (*(&tm . tm_mday) = ((long int) ((unsigned long int) (pc . day) + (unsigned long int) (0))), 1) : (*(&tm . tm_mday) = ((long int) ((unsigned long int) (pc . day) + (unsigned long int) (0))), 0))) : (sizeof ((pc . day) + (0)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (pc . day), (long long int) (0), (__typeof__ (((long long int) (pc . day)) + ((long long int) (0)))) 0) || (((0 * (((long long int) (pc . day)) + ((long long int) (0))) - (1)) < 0) && (((long long int) (pc . day)) + ((long long int) (0))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (pc . day)) + ((long long int) (0)))) ? (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) ((long long int) (pc . day)) + (unsigned long long int) ((long long int) (0)))), 1) : (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) ((long long int) (pc . day)) + (unsigned long long int) ((long long int) (0)))), 0)) : ((__builtin_add_overflow_p (pc . day, 0, (__typeof__ ((pc . day) + (0))) 0) || (((0 * ((pc . day) + (0)) - (1)) < 0) && ((pc . day) + (0)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((pc . day) + (0))) ? (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) (pc . day) + (unsigned long long int) (0))), 1) : (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) (pc . day) + (unsigned long long int) (0))), 0)))))) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: year, month, or day overflow\n")); goto fail; } if (pc.times_seen || (pc.rels_seen && ! pc.dates_seen && ! pc.days_seen)) { tm.tm_hour = to_hour (pc.hour, pc.meridian); if (tm.tm_hour < 0) { char const *mrd = (pc.meridian == MERam ? "am" : pc.meridian == MERpm ?"pm" : ""); if (pc.parse_datetime_debug) dbg_printf (gettext ("error: invalid hour %" "ll" "d" "%s\n"), pc.hour, mrd); goto fail; } tm.tm_min = pc.minutes; tm.tm_sec = pc.seconds.tv_sec; if (pc.parse_datetime_debug) dbg_printf ((pc.times_seen ? gettext ("using specified time as starting value: '%s'\n") : gettext ("using current time as starting value: '%s'\n")), debug_strftime (&tm, dbg_tm, sizeof dbg_tm)); } else { tm.tm_hour = tm.tm_min = tm.tm_sec = 0; pc.seconds.tv_nsec = 0; if (pc.parse_datetime_debug) dbg_printf ("warning: using midnight as starting time: 00:00:00\n"); } if (pc.dates_seen | pc.days_seen | pc.times_seen) tm.tm_isdst = -1; if (pc.local_zones_seen) tm.tm_isdst = pc.local_isdst; tm0.tm_sec = tm.tm_sec; tm0.tm_min = tm.tm_min; tm0.tm_hour = tm.tm_hour; tm0.tm_mday = tm.tm_mday; tm0.tm_mon = tm.tm_mon; tm0.tm_year = tm.tm_year; tm0.tm_isdst = tm.tm_isdst; Start = mktime_z (tz, &tm); if (! mktime_ok (tz, &tm0, &tm, Start)) { _Bool repaired = 0; _Bool time_zone_seen = pc.zones_seen != 0; if (time_zone_seen) { char tz2buf[sizeof "XXX" - 1 + TIME_ZONE_BUFSIZE]; tz2buf[0] = tz2buf[1] = tz2buf[2] = 'X'; time_zone_str (pc.time_zone, &tz2buf[3]); timezone_t tz2 = tzalloc (tz2buf); if (!tz2) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: tzalloc (\"%s\") failed\n"), tz2buf); goto fail; } tm.tm_sec = tm0.tm_sec; tm.tm_min = tm0.tm_min; tm.tm_hour = tm0.tm_hour; tm.tm_mday = tm0.tm_mday; tm.tm_mon = tm0.tm_mon; tm.tm_year = tm0.tm_year; tm.tm_isdst = tm0.tm_isdst; Start = mktime_z (tz2, &tm); repaired = mktime_ok (tz2, &tm0, &tm, Start); tzfree (tz2); } if (! repaired) { debug_mktime_not_ok (&tm0, &tm, &pc, time_zone_seen); goto fail; } } char dbg_ord[DBGBUFSIZE]; if (pc.days_seen && ! pc.dates_seen) { intmax_t dayincr; if ((sizeof *(&dayincr) == sizeof (signed char) ? (sizeof (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))), (signed char) (7), (__typeof__ (((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((signed char) (7)))) 0) || (((0 * (((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((signed char) (7))) - (1)) < 0) && (((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((signed char) (7))) < ((-127-1))) || (127) < (((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((signed char) (7)))) ? (*(&dayincr) = ((signed char) ((unsigned int) ((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned int) ((signed char) (7)))), 1) : (*(&dayincr) = ((signed char) ((unsigned int) ((signed char) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned int) ((signed char) (7)))), 0)) : ((__builtin_mul_overflow_p ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)), 7, (__typeof__ (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) 0) || (((0 * (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) - (1)) < 0) && (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < ((-127-1))) || (127) < (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) ? (*(&dayincr) = ((signed char) ((unsigned int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned int) (7))), 1) : (*(&dayincr) = ((signed char) ((unsigned int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned int) (7))), 0))) : sizeof *(&dayincr) == sizeof (short int) ? (sizeof (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))), (short int) (7), (__typeof__ (((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((short int) (7)))) 0) || (((0 * (((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((short int) (7))) - (1)) < 0) && (((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((short int) (7))) < ((-32767 -1))) || (32767) < (((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((short int) (7)))) ? (*(&dayincr) = ((short int) ((unsigned int) ((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned int) ((short int) (7)))), 1) : (*(&dayincr) = ((short int) ((unsigned int) ((short int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned int) ((short int) (7)))), 0)) : ((__builtin_mul_overflow_p ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)), 7, (__typeof__ (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) 0) || (((0 * (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) - (1)) < 0) && (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < ((-32767 -1))) || (32767) < (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) ? (*(&dayincr) = ((short int) ((unsigned int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned int) (7))), 1) : (*(&dayincr) = ((short int) ((unsigned int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned int) (7))), 0))) : sizeof *(&dayincr) == sizeof (int) ? (sizeof (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))), (int) (7), (__typeof__ (((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((int) (7)))) 0) || (((0 * (((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((int) (7))) - (1)) < 0) && (((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((int) (7))) < ((-2147483647 -1))) || (2147483647) < (((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((int) (7)))) ? (*(&dayincr) = ((int) ((unsigned int) ((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned int) ((int) (7)))), 1) : (*(&dayincr) = ((int) ((unsigned int) ((int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned int) ((int) (7)))), 0)) : ((__builtin_mul_overflow_p ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)), 7, (__typeof__ (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) 0) || (((0 * (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) - (1)) < 0) && (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < ((-2147483647 -1))) || (2147483647) < (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) ? (*(&dayincr) = ((int) ((unsigned int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned int) (7))), 1) : (*(&dayincr) = ((int) ((unsigned int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned int) (7))), 0))) : (sizeof *(&dayincr) == sizeof (long int) ? (sizeof (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))), (long int) (7), (__typeof__ (((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long int) (7)))) 0) || (((0 * (((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long int) (7))) - (1)) < 0) && (((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long int) (7))) < ((-2147483647 -1L))) || (2147483647) < (((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long int) (7)))) ? (*(&dayincr) = ((long int) ((unsigned long int) ((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned long int) ((long int) (7)))), 1) : (*(&dayincr) = ((long int) ((unsigned long int) ((long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned long int) ((long int) (7)))), 0)) : ((__builtin_mul_overflow_p ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)), 7, (__typeof__ (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) 0) || (((0 * (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) - (1)) < 0) && (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < ((-2147483647 -1L))) || (2147483647) < (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) ? (*(&dayincr) = ((long int) ((unsigned long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned long int) (7))), 1) : (*(&dayincr) = ((long int) ((unsigned long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned long int) (7))), 0))) : (sizeof (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))), (long long int) (7), (__typeof__ (((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long long int) (7)))) 0) || (((0 * (((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long long int) (7))) - (1)) < 0) && (((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long long int) (7))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * ((long long int) (7)))) ? (*(&dayincr) = ((long long int) ((unsigned long long int) ((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned long long int) ((long long int) (7)))), 1) : (*(&dayincr) = ((long long int) ((unsigned long long int) ((long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)))) * (unsigned long long int) ((long long int) (7)))), 0)) : ((__builtin_mul_overflow_p ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number)), 7, (__typeof__ (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) 0) || (((0 * (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) - (1)) < 0) && (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (7))) ? (*(&dayincr) = ((long long int) ((unsigned long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned long long int) (7))), 1) : (*(&dayincr) = ((long long int) ((unsigned long long int) ((pc . day_ordinal - (0 < pc . day_ordinal && tm . tm_wday != pc . day_number))) * (unsigned long long int) (7))), 0))))) || (sizeof *(&dayincr) == sizeof (signed char) ? (sizeof (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) ((pc . day_number - tm . tm_wday + 7) % 7), (signed char) (dayincr), (__typeof__ (((signed char) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((signed char) (dayincr)))) 0) || (((0 * (((signed char) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((signed char) (dayincr))) - (1)) < 0) && (((signed char) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((signed char) (dayincr))) < ((-127-1))) || (127) < (((signed char) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((signed char) (dayincr)))) ? (*(&dayincr) = ((signed char) ((unsigned int) ((signed char) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned int) ((signed char) (dayincr)))), 1) : (*(&dayincr) = ((signed char) ((unsigned int) ((signed char) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned int) ((signed char) (dayincr)))), 0)) : ((__builtin_add_overflow_p ((pc . day_number - tm . tm_wday + 7) % 7, dayincr, (__typeof__ (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) 0) || (((0 * (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) - (1)) < 0) && (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < ((-127-1))) || (127) < (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) ? (*(&dayincr) = ((signed char) ((unsigned int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned int) (dayincr))), 1) : (*(&dayincr) = ((signed char) ((unsigned int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned int) (dayincr))), 0))) : sizeof *(&dayincr) == sizeof (short int) ? (sizeof (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) ((pc . day_number - tm . tm_wday + 7) % 7), (short int) (dayincr), (__typeof__ (((short int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((short int) (dayincr)))) 0) || (((0 * (((short int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((short int) (dayincr))) - (1)) < 0) && (((short int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((short int) (dayincr))) < ((-32767 -1))) || (32767) < (((short int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((short int) (dayincr)))) ? (*(&dayincr) = ((short int) ((unsigned int) ((short int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned int) ((short int) (dayincr)))), 1) : (*(&dayincr) = ((short int) ((unsigned int) ((short int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned int) ((short int) (dayincr)))), 0)) : ((__builtin_add_overflow_p ((pc . day_number - tm . tm_wday + 7) % 7, dayincr, (__typeof__ (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) 0) || (((0 * (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) - (1)) < 0) && (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < ((-32767 -1))) || (32767) < (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) ? (*(&dayincr) = ((short int) ((unsigned int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned int) (dayincr))), 1) : (*(&dayincr) = ((short int) ((unsigned int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned int) (dayincr))), 0))) : sizeof *(&dayincr) == sizeof (int) ? (sizeof (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) ((pc . day_number - tm . tm_wday + 7) % 7), (int) (dayincr), (__typeof__ (((int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((int) (dayincr)))) 0) || (((0 * (((int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((int) (dayincr))) - (1)) < 0) && (((int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((int) (dayincr))) < ((-2147483647 -1))) || (2147483647) < (((int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((int) (dayincr)))) ? (*(&dayincr) = ((int) ((unsigned int) ((int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned int) ((int) (dayincr)))), 1) : (*(&dayincr) = ((int) ((unsigned int) ((int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned int) ((int) (dayincr)))), 0)) : ((__builtin_add_overflow_p ((pc . day_number - tm . tm_wday + 7) % 7, dayincr, (__typeof__ (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) 0) || (((0 * (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) - (1)) < 0) && (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < ((-2147483647 -1))) || (2147483647) < (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) ? (*(&dayincr) = ((int) ((unsigned int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned int) (dayincr))), 1) : (*(&dayincr) = ((int) ((unsigned int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned int) (dayincr))), 0))) : (sizeof *(&dayincr) == sizeof (long int) ? (sizeof (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) ((pc . day_number - tm . tm_wday + 7) % 7), (long int) (dayincr), (__typeof__ (((long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long int) (dayincr)))) 0) || (((0 * (((long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long int) (dayincr))) - (1)) < 0) && (((long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long int) (dayincr))) < ((-2147483647 -1L))) || (2147483647) < (((long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long int) (dayincr)))) ? (*(&dayincr) = ((long int) ((unsigned long int) ((long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned long int) ((long int) (dayincr)))), 1) : (*(&dayincr) = ((long int) ((unsigned long int) ((long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned long int) ((long int) (dayincr)))), 0)) : ((__builtin_add_overflow_p ((pc . day_number - tm . tm_wday + 7) % 7, dayincr, (__typeof__ (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) 0) || (((0 * (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) - (1)) < 0) && (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < ((-2147483647 -1L))) || (2147483647) < (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) ? (*(&dayincr) = ((long int) ((unsigned long int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned long int) (dayincr))), 1) : (*(&dayincr) = ((long int) ((unsigned long int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned long int) (dayincr))), 0))) : (sizeof (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) ((pc . day_number - tm . tm_wday + 7) % 7), (long long int) (dayincr), (__typeof__ (((long long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long long int) (dayincr)))) 0) || (((0 * (((long long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long long int) (dayincr))) - (1)) < 0) && (((long long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long long int) (dayincr))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + ((long long int) (dayincr)))) ? (*(&dayincr) = ((long long int) ((unsigned long long int) ((long long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned long long int) ((long long int) (dayincr)))), 1) : (*(&dayincr) = ((long long int) ((unsigned long long int) ((long long int) ((pc . day_number - tm . tm_wday + 7) % 7)) + (unsigned long long int) ((long long int) (dayincr)))), 0)) : ((__builtin_add_overflow_p ((pc . day_number - tm . tm_wday + 7) % 7, dayincr, (__typeof__ (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) 0) || (((0 * (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) - (1)) < 0) && (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((pc . day_number - tm . tm_wday + 7) % 7) + (dayincr))) ? (*(&dayincr) = ((long long int) ((unsigned long long int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned long long int) (dayincr))), 1) : (*(&dayincr) = ((long long int) ((unsigned long long int) ((pc . day_number - tm . tm_wday + 7) % 7) + (unsigned long long int) (dayincr))), 0))))) || (sizeof *(&tm . tm_mday) == sizeof (signed char) ? (sizeof ((dayincr) + (tm . tm_mday)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (dayincr), (signed char) (tm . tm_mday), (__typeof__ (((signed char) (dayincr)) + ((signed char) (tm . tm_mday)))) 0) || (((0 * (((signed char) (dayincr)) + ((signed char) (tm . tm_mday))) - (1)) < 0) && (((signed char) (dayincr)) + ((signed char) (tm . tm_mday))) < ((-127-1))) || (127) < (((signed char) (dayincr)) + ((signed char) (tm . tm_mday)))) ? (*(&tm . tm_mday) = ((signed char) ((unsigned int) ((signed char) (dayincr)) + (unsigned int) ((signed char) (tm . tm_mday)))), 1) : (*(&tm . tm_mday) = ((signed char) ((unsigned int) ((signed char) (dayincr)) + (unsigned int) ((signed char) (tm . tm_mday)))), 0)) : ((__builtin_add_overflow_p (dayincr, tm . tm_mday, (__typeof__ ((dayincr) + (tm . tm_mday))) 0) || (((0 * ((dayincr) + (tm . tm_mday)) - (1)) < 0) && ((dayincr) + (tm . tm_mday)) < ((-127-1))) || (127) < ((dayincr) + (tm . tm_mday))) ? (*(&tm . tm_mday) = ((signed char) ((unsigned int) (dayincr) + (unsigned int) (tm . tm_mday))), 1) : (*(&tm . tm_mday) = ((signed char) ((unsigned int) (dayincr) + (unsigned int) (tm . tm_mday))), 0))) : sizeof *(&tm . tm_mday) == sizeof (short int) ? (sizeof ((dayincr) + (tm . tm_mday)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (dayincr), (short int) (tm . tm_mday), (__typeof__ (((short int) (dayincr)) + ((short int) (tm . tm_mday)))) 0) || (((0 * (((short int) (dayincr)) + ((short int) (tm . tm_mday))) - (1)) < 0) && (((short int) (dayincr)) + ((short int) (tm . tm_mday))) < ((-32767 -1))) || (32767) < (((short int) (dayincr)) + ((short int) (tm . tm_mday)))) ? (*(&tm . tm_mday) = ((short int) ((unsigned int) ((short int) (dayincr)) + (unsigned int) ((short int) (tm . tm_mday)))), 1) : (*(&tm . tm_mday) = ((short int) ((unsigned int) ((short int) (dayincr)) + (unsigned int) ((short int) (tm . tm_mday)))), 0)) : ((__builtin_add_overflow_p (dayincr, tm . tm_mday, (__typeof__ ((dayincr) + (tm . tm_mday))) 0) || (((0 * ((dayincr) + (tm . tm_mday)) - (1)) < 0) && ((dayincr) + (tm . tm_mday)) < ((-32767 -1))) || (32767) < ((dayincr) + (tm . tm_mday))) ? (*(&tm . tm_mday) = ((short int) ((unsigned int) (dayincr) + (unsigned int) (tm . tm_mday))), 1) : (*(&tm . tm_mday) = ((short int) ((unsigned int) (dayincr) + (unsigned int) (tm . tm_mday))), 0))) : sizeof *(&tm . tm_mday) == sizeof (int) ? (sizeof ((dayincr) + (tm . tm_mday)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (dayincr), (int) (tm . tm_mday), (__typeof__ (((int) (dayincr)) + ((int) (tm . tm_mday)))) 0) || (((0 * (((int) (dayincr)) + ((int) (tm . tm_mday))) - (1)) < 0) && (((int) (dayincr)) + ((int) (tm . tm_mday))) < ((-2147483647 -1))) || (2147483647) < (((int) (dayincr)) + ((int) (tm . tm_mday)))) ? (*(&tm . tm_mday) = ((int) ((unsigned int) ((int) (dayincr)) + (unsigned int) ((int) (tm . tm_mday)))), 1) : (*(&tm . tm_mday) = ((int) ((unsigned int) ((int) (dayincr)) + (unsigned int) ((int) (tm . tm_mday)))), 0)) : ((__builtin_add_overflow_p (dayincr, tm . tm_mday, (__typeof__ ((dayincr) + (tm . tm_mday))) 0) || (((0 * ((dayincr) + (tm . tm_mday)) - (1)) < 0) && ((dayincr) + (tm . tm_mday)) < ((-2147483647 -1))) || (2147483647) < ((dayincr) + (tm . tm_mday))) ? (*(&tm . tm_mday) = ((int) ((unsigned int) (dayincr) + (unsigned int) (tm . tm_mday))), 1) : (*(&tm . tm_mday) = ((int) ((unsigned int) (dayincr) + (unsigned int) (tm . tm_mday))), 0))) : (sizeof *(&tm . tm_mday) == sizeof (long int) ? (sizeof ((dayincr) + (tm . tm_mday)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (dayincr), (long int) (tm . tm_mday), (__typeof__ (((long int) (dayincr)) + ((long int) (tm . tm_mday)))) 0) || (((0 * (((long int) (dayincr)) + ((long int) (tm . tm_mday))) - (1)) < 0) && (((long int) (dayincr)) + ((long int) (tm . tm_mday))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (dayincr)) + ((long int) (tm . tm_mday)))) ? (*(&tm . tm_mday) = ((long int) ((unsigned long int) ((long int) (dayincr)) + (unsigned long int) ((long int) (tm . tm_mday)))), 1) : (*(&tm . tm_mday) = ((long int) ((unsigned long int) ((long int) (dayincr)) + (unsigned long int) ((long int) (tm . tm_mday)))), 0)) : ((__builtin_add_overflow_p (dayincr, tm . tm_mday, (__typeof__ ((dayincr) + (tm . tm_mday))) 0) || (((0 * ((dayincr) + (tm . tm_mday)) - (1)) < 0) && ((dayincr) + (tm . tm_mday)) < ((-2147483647 -1L))) || (2147483647) < ((dayincr) + (tm . tm_mday))) ? (*(&tm . tm_mday) = ((long int) ((unsigned long int) (dayincr) + (unsigned long int) (tm . tm_mday))), 1) : (*(&tm . tm_mday) = ((long int) ((unsigned long int) (dayincr) + (unsigned long int) (tm . tm_mday))), 0))) : (sizeof ((dayincr) + (tm . tm_mday)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (dayincr), (long long int) (tm . tm_mday), (__typeof__ (((long long int) (dayincr)) + ((long long int) (tm . tm_mday)))) 0) || (((0 * (((long long int) (dayincr)) + ((long long int) (tm . tm_mday))) - (1)) < 0) && (((long long int) (dayincr)) + ((long long int) (tm . tm_mday))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (dayincr)) + ((long long int) (tm . tm_mday)))) ? (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) ((long long int) (dayincr)) + (unsigned long long int) ((long long int) (tm . tm_mday)))), 1) : (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) ((long long int) (dayincr)) + (unsigned long long int) ((long long int) (tm . tm_mday)))), 0)) : ((__builtin_add_overflow_p (dayincr, tm . tm_mday, (__typeof__ ((dayincr) + (tm . tm_mday))) 0) || (((0 * ((dayincr) + (tm . tm_mday)) - (1)) < 0) && ((dayincr) + (tm . tm_mday)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((dayincr) + (tm . tm_mday))) ? (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) (dayincr) + (unsigned long long int) (tm . tm_mday))), 1) : (*(&tm . tm_mday) = ((long long int) ((unsigned long long int) (dayincr) + (unsigned long long int) (tm . tm_mday))), 0)))))) Start = -1; else { tm.tm_isdst = -1; Start = mktime_z (tz, &tm); } if (Start == (time_t) -1) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: day '%s' " "(day ordinal=%" "ll" "d" " number=%d) " "resulted in an invalid date: '%s'\n"), str_days (&pc, dbg_ord, sizeof dbg_ord), pc.day_ordinal, pc.day_number, debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); goto fail; } if (pc.parse_datetime_debug) dbg_printf (gettext ("new start date: '%s' is '%s'\n"), str_days (&pc, dbg_ord, sizeof dbg_ord), debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); } if (pc.parse_datetime_debug) { if (!pc.dates_seen && !pc.days_seen) dbg_printf (gettext ("using current date as starting value: '%s'\n"), debug_strfdate (&tm, dbg_tm, sizeof dbg_tm)); if (pc.days_seen && pc.dates_seen) dbg_printf (gettext ("warning: day (%s) ignored when explicit dates " "are given\n"), str_days (&pc, dbg_ord, sizeof dbg_ord)); dbg_printf (gettext ("starting date/time: '%s'\n"), debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); } if (pc.rel.year | pc.rel.month | pc.rel.day) { if (pc.parse_datetime_debug) { if ((pc.rel.year != 0 || pc.rel.month != 0) && tm.tm_mday != 15) dbg_printf (gettext ("warning: when adding relative months/years, " "it is recommended to specify the 15th of the " "months\n")); if (pc.rel.day != 0 && tm.tm_hour != 12) dbg_printf (gettext ("warning: when adding relative days, " "it is recommended to specify noon\n")); } int year, month, day; if ((sizeof *(&year) == sizeof (signed char) ? (sizeof ((tm . tm_year) + (pc . rel . year)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (tm . tm_year), (signed char) (pc . rel . year), (__typeof__ (((signed char) (tm . tm_year)) + ((signed char) (pc . rel . year)))) 0) || (((0 * (((signed char) (tm . tm_year)) + ((signed char) (pc . rel . year))) - (1)) < 0) && (((signed char) (tm . tm_year)) + ((signed char) (pc . rel . year))) < ((-127-1))) || (127) < (((signed char) (tm . tm_year)) + ((signed char) (pc . rel . year)))) ? (*(&year) = ((signed char) ((unsigned int) ((signed char) (tm . tm_year)) + (unsigned int) ((signed char) (pc . rel . year)))), 1) : (*(&year) = ((signed char) ((unsigned int) ((signed char) (tm . tm_year)) + (unsigned int) ((signed char) (pc . rel . year)))), 0)) : ((__builtin_add_overflow_p (tm . tm_year, pc . rel . year, (__typeof__ ((tm . tm_year) + (pc . rel . year))) 0) || (((0 * ((tm . tm_year) + (pc . rel . year)) - (1)) < 0) && ((tm . tm_year) + (pc . rel . year)) < ((-127-1))) || (127) < ((tm . tm_year) + (pc . rel . year))) ? (*(&year) = ((signed char) ((unsigned int) (tm . tm_year) + (unsigned int) (pc . rel . year))), 1) : (*(&year) = ((signed char) ((unsigned int) (tm . tm_year) + (unsigned int) (pc . rel . year))), 0))) : sizeof *(&year) == sizeof (short int) ? (sizeof ((tm . tm_year) + (pc . rel . year)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (tm . tm_year), (short int) (pc . rel . year), (__typeof__ (((short int) (tm . tm_year)) + ((short int) (pc . rel . year)))) 0) || (((0 * (((short int) (tm . tm_year)) + ((short int) (pc . rel . year))) - (1)) < 0) && (((short int) (tm . tm_year)) + ((short int) (pc . rel . year))) < ((-32767 -1))) || (32767) < (((short int) (tm . tm_year)) + ((short int) (pc . rel . year)))) ? (*(&year) = ((short int) ((unsigned int) ((short int) (tm . tm_year)) + (unsigned int) ((short int) (pc . rel . year)))), 1) : (*(&year) = ((short int) ((unsigned int) ((short int) (tm . tm_year)) + (unsigned int) ((short int) (pc . rel . year)))), 0)) : ((__builtin_add_overflow_p (tm . tm_year, pc . rel . year, (__typeof__ ((tm . tm_year) + (pc . rel . year))) 0) || (((0 * ((tm . tm_year) + (pc . rel . year)) - (1)) < 0) && ((tm . tm_year) + (pc . rel . year)) < ((-32767 -1))) || (32767) < ((tm . tm_year) + (pc . rel . year))) ? (*(&year) = ((short int) ((unsigned int) (tm . tm_year) + (unsigned int) (pc . rel . year))), 1) : (*(&year) = ((short int) ((unsigned int) (tm . tm_year) + (unsigned int) (pc . rel . year))), 0))) : sizeof *(&year) == sizeof (int) ? (sizeof ((tm . tm_year) + (pc . rel . year)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (tm . tm_year), (int) (pc . rel . year), (__typeof__ (((int) (tm . tm_year)) + ((int) (pc . rel . year)))) 0) || (((0 * (((int) (tm . tm_year)) + ((int) (pc . rel . year))) - (1)) < 0) && (((int) (tm . tm_year)) + ((int) (pc . rel . year))) < ((-2147483647 -1))) || (2147483647) < (((int) (tm . tm_year)) + ((int) (pc . rel . year)))) ? (*(&year) = ((int) ((unsigned int) ((int) (tm . tm_year)) + (unsigned int) ((int) (pc . rel . year)))), 1) : (*(&year) = ((int) ((unsigned int) ((int) (tm . tm_year)) + (unsigned int) ((int) (pc . rel . year)))), 0)) : ((__builtin_add_overflow_p (tm . tm_year, pc . rel . year, (__typeof__ ((tm . tm_year) + (pc . rel . year))) 0) || (((0 * ((tm . tm_year) + (pc . rel . year)) - (1)) < 0) && ((tm . tm_year) + (pc . rel . year)) < ((-2147483647 -1))) || (2147483647) < ((tm . tm_year) + (pc . rel . year))) ? (*(&year) = ((int) ((unsigned int) (tm . tm_year) + (unsigned int) (pc . rel . year))), 1) : (*(&year) = ((int) ((unsigned int) (tm . tm_year) + (unsigned int) (pc . rel . year))), 0))) : (sizeof *(&year) == sizeof (long int) ? (sizeof ((tm . tm_year) + (pc . rel . year)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (tm . tm_year), (long int) (pc . rel . year), (__typeof__ (((long int) (tm . tm_year)) + ((long int) (pc . rel . year)))) 0) || (((0 * (((long int) (tm . tm_year)) + ((long int) (pc . rel . year))) - (1)) < 0) && (((long int) (tm . tm_year)) + ((long int) (pc . rel . year))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (tm . tm_year)) + ((long int) (pc . rel . year)))) ? (*(&year) = ((long int) ((unsigned long int) ((long int) (tm . tm_year)) + (unsigned long int) ((long int) (pc . rel . year)))), 1) : (*(&year) = ((long int) ((unsigned long int) ((long int) (tm . tm_year)) + (unsigned long int) ((long int) (pc . rel . year)))), 0)) : ((__builtin_add_overflow_p (tm . tm_year, pc . rel . year, (__typeof__ ((tm . tm_year) + (pc . rel . year))) 0) || (((0 * ((tm . tm_year) + (pc . rel . year)) - (1)) < 0) && ((tm . tm_year) + (pc . rel . year)) < ((-2147483647 -1L))) || (2147483647) < ((tm . tm_year) + (pc . rel . year))) ? (*(&year) = ((long int) ((unsigned long int) (tm . tm_year) + (unsigned long int) (pc . rel . year))), 1) : (*(&year) = ((long int) ((unsigned long int) (tm . tm_year) + (unsigned long int) (pc . rel . year))), 0))) : (sizeof ((tm . tm_year) + (pc . rel . year)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (tm . tm_year), (long long int) (pc . rel . year), (__typeof__ (((long long int) (tm . tm_year)) + ((long long int) (pc . rel . year)))) 0) || (((0 * (((long long int) (tm . tm_year)) + ((long long int) (pc . rel . year))) - (1)) < 0) && (((long long int) (tm . tm_year)) + ((long long int) (pc . rel . year))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (tm . tm_year)) + ((long long int) (pc . rel . year)))) ? (*(&year) = ((long long int) ((unsigned long long int) ((long long int) (tm . tm_year)) + (unsigned long long int) ((long long int) (pc . rel . year)))), 1) : (*(&year) = ((long long int) ((unsigned long long int) ((long long int) (tm . tm_year)) + (unsigned long long int) ((long long int) (pc . rel . year)))), 0)) : ((__builtin_add_overflow_p (tm . tm_year, pc . rel . year, (__typeof__ ((tm . tm_year) + (pc . rel . year))) 0) || (((0 * ((tm . tm_year) + (pc . rel . year)) - (1)) < 0) && ((tm . tm_year) + (pc . rel . year)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((tm . tm_year) + (pc . rel . year))) ? (*(&year) = ((long long int) ((unsigned long long int) (tm . tm_year) + (unsigned long long int) (pc . rel . year))), 1) : (*(&year) = ((long long int) ((unsigned long long int) (tm . tm_year) + (unsigned long long int) (pc . rel . year))), 0))))) || (sizeof *(&month) == sizeof (signed char) ? (sizeof ((tm . tm_mon) + (pc . rel . month)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (tm . tm_mon), (signed char) (pc . rel . month), (__typeof__ (((signed char) (tm . tm_mon)) + ((signed char) (pc . rel . month)))) 0) || (((0 * (((signed char) (tm . tm_mon)) + ((signed char) (pc . rel . month))) - (1)) < 0) && (((signed char) (tm . tm_mon)) + ((signed char) (pc . rel . month))) < ((-127-1))) || (127) < (((signed char) (tm . tm_mon)) + ((signed char) (pc . rel . month)))) ? (*(&month) = ((signed char) ((unsigned int) ((signed char) (tm . tm_mon)) + (unsigned int) ((signed char) (pc . rel . month)))), 1) : (*(&month) = ((signed char) ((unsigned int) ((signed char) (tm . tm_mon)) + (unsigned int) ((signed char) (pc . rel . month)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mon, pc . rel . month, (__typeof__ ((tm . tm_mon) + (pc . rel . month))) 0) || (((0 * ((tm . tm_mon) + (pc . rel . month)) - (1)) < 0) && ((tm . tm_mon) + (pc . rel . month)) < ((-127-1))) || (127) < ((tm . tm_mon) + (pc . rel . month))) ? (*(&month) = ((signed char) ((unsigned int) (tm . tm_mon) + (unsigned int) (pc . rel . month))), 1) : (*(&month) = ((signed char) ((unsigned int) (tm . tm_mon) + (unsigned int) (pc . rel . month))), 0))) : sizeof *(&month) == sizeof (short int) ? (sizeof ((tm . tm_mon) + (pc . rel . month)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (tm . tm_mon), (short int) (pc . rel . month), (__typeof__ (((short int) (tm . tm_mon)) + ((short int) (pc . rel . month)))) 0) || (((0 * (((short int) (tm . tm_mon)) + ((short int) (pc . rel . month))) - (1)) < 0) && (((short int) (tm . tm_mon)) + ((short int) (pc . rel . month))) < ((-32767 -1))) || (32767) < (((short int) (tm . tm_mon)) + ((short int) (pc . rel . month)))) ? (*(&month) = ((short int) ((unsigned int) ((short int) (tm . tm_mon)) + (unsigned int) ((short int) (pc . rel . month)))), 1) : (*(&month) = ((short int) ((unsigned int) ((short int) (tm . tm_mon)) + (unsigned int) ((short int) (pc . rel . month)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mon, pc . rel . month, (__typeof__ ((tm . tm_mon) + (pc . rel . month))) 0) || (((0 * ((tm . tm_mon) + (pc . rel . month)) - (1)) < 0) && ((tm . tm_mon) + (pc . rel . month)) < ((-32767 -1))) || (32767) < ((tm . tm_mon) + (pc . rel . month))) ? (*(&month) = ((short int) ((unsigned int) (tm . tm_mon) + (unsigned int) (pc . rel . month))), 1) : (*(&month) = ((short int) ((unsigned int) (tm . tm_mon) + (unsigned int) (pc . rel . month))), 0))) : sizeof *(&month) == sizeof (int) ? (sizeof ((tm . tm_mon) + (pc . rel . month)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (tm . tm_mon), (int) (pc . rel . month), (__typeof__ (((int) (tm . tm_mon)) + ((int) (pc . rel . month)))) 0) || (((0 * (((int) (tm . tm_mon)) + ((int) (pc . rel . month))) - (1)) < 0) && (((int) (tm . tm_mon)) + ((int) (pc . rel . month))) < ((-2147483647 -1))) || (2147483647) < (((int) (tm . tm_mon)) + ((int) (pc . rel . month)))) ? (*(&month) = ((int) ((unsigned int) ((int) (tm . tm_mon)) + (unsigned int) ((int) (pc . rel . month)))), 1) : (*(&month) = ((int) ((unsigned int) ((int) (tm . tm_mon)) + (unsigned int) ((int) (pc . rel . month)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mon, pc . rel . month, (__typeof__ ((tm . tm_mon) + (pc . rel . month))) 0) || (((0 * ((tm . tm_mon) + (pc . rel . month)) - (1)) < 0) && ((tm . tm_mon) + (pc . rel . month)) < ((-2147483647 -1))) || (2147483647) < ((tm . tm_mon) + (pc . rel . month))) ? (*(&month) = ((int) ((unsigned int) (tm . tm_mon) + (unsigned int) (pc . rel . month))), 1) : (*(&month) = ((int) ((unsigned int) (tm . tm_mon) + (unsigned int) (pc . rel . month))), 0))) : (sizeof *(&month) == sizeof (long int) ? (sizeof ((tm . tm_mon) + (pc . rel . month)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (tm . tm_mon), (long int) (pc . rel . month), (__typeof__ (((long int) (tm . tm_mon)) + ((long int) (pc . rel . month)))) 0) || (((0 * (((long int) (tm . tm_mon)) + ((long int) (pc . rel . month))) - (1)) < 0) && (((long int) (tm . tm_mon)) + ((long int) (pc . rel . month))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (tm . tm_mon)) + ((long int) (pc . rel . month)))) ? (*(&month) = ((long int) ((unsigned long int) ((long int) (tm . tm_mon)) + (unsigned long int) ((long int) (pc . rel . month)))), 1) : (*(&month) = ((long int) ((unsigned long int) ((long int) (tm . tm_mon)) + (unsigned long int) ((long int) (pc . rel . month)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mon, pc . rel . month, (__typeof__ ((tm . tm_mon) + (pc . rel . month))) 0) || (((0 * ((tm . tm_mon) + (pc . rel . month)) - (1)) < 0) && ((tm . tm_mon) + (pc . rel . month)) < ((-2147483647 -1L))) || (2147483647) < ((tm . tm_mon) + (pc . rel . month))) ? (*(&month) = ((long int) ((unsigned long int) (tm . tm_mon) + (unsigned long int) (pc . rel . month))), 1) : (*(&month) = ((long int) ((unsigned long int) (tm . tm_mon) + (unsigned long int) (pc . rel . month))), 0))) : (sizeof ((tm . tm_mon) + (pc . rel . month)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (tm . tm_mon), (long long int) (pc . rel . month), (__typeof__ (((long long int) (tm . tm_mon)) + ((long long int) (pc . rel . month)))) 0) || (((0 * (((long long int) (tm . tm_mon)) + ((long long int) (pc . rel . month))) - (1)) < 0) && (((long long int) (tm . tm_mon)) + ((long long int) (pc . rel . month))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (tm . tm_mon)) + ((long long int) (pc . rel . month)))) ? (*(&month) = ((long long int) ((unsigned long long int) ((long long int) (tm . tm_mon)) + (unsigned long long int) ((long long int) (pc . rel . month)))), 1) : (*(&month) = ((long long int) ((unsigned long long int) ((long long int) (tm . tm_mon)) + (unsigned long long int) ((long long int) (pc . rel . month)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mon, pc . rel . month, (__typeof__ ((tm . tm_mon) + (pc . rel . month))) 0) || (((0 * ((tm . tm_mon) + (pc . rel . month)) - (1)) < 0) && ((tm . tm_mon) + (pc . rel . month)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((tm . tm_mon) + (pc . rel . month))) ? (*(&month) = ((long long int) ((unsigned long long int) (tm . tm_mon) + (unsigned long long int) (pc . rel . month))), 1) : (*(&month) = ((long long int) ((unsigned long long int) (tm . tm_mon) + (unsigned long long int) (pc . rel . month))), 0))))) || (sizeof *(&day) == sizeof (signed char) ? (sizeof ((tm . tm_mday) + (pc . rel . day)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (tm . tm_mday), (signed char) (pc . rel . day), (__typeof__ (((signed char) (tm . tm_mday)) + ((signed char) (pc . rel . day)))) 0) || (((0 * (((signed char) (tm . tm_mday)) + ((signed char) (pc . rel . day))) - (1)) < 0) && (((signed char) (tm . tm_mday)) + ((signed char) (pc . rel . day))) < ((-127-1))) || (127) < (((signed char) (tm . tm_mday)) + ((signed char) (pc . rel . day)))) ? (*(&day) = ((signed char) ((unsigned int) ((signed char) (tm . tm_mday)) + (unsigned int) ((signed char) (pc . rel . day)))), 1) : (*(&day) = ((signed char) ((unsigned int) ((signed char) (tm . tm_mday)) + (unsigned int) ((signed char) (pc . rel . day)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mday, pc . rel . day, (__typeof__ ((tm . tm_mday) + (pc . rel . day))) 0) || (((0 * ((tm . tm_mday) + (pc . rel . day)) - (1)) < 0) && ((tm . tm_mday) + (pc . rel . day)) < ((-127-1))) || (127) < ((tm . tm_mday) + (pc . rel . day))) ? (*(&day) = ((signed char) ((unsigned int) (tm . tm_mday) + (unsigned int) (pc . rel . day))), 1) : (*(&day) = ((signed char) ((unsigned int) (tm . tm_mday) + (unsigned int) (pc . rel . day))), 0))) : sizeof *(&day) == sizeof (short int) ? (sizeof ((tm . tm_mday) + (pc . rel . day)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (tm . tm_mday), (short int) (pc . rel . day), (__typeof__ (((short int) (tm . tm_mday)) + ((short int) (pc . rel . day)))) 0) || (((0 * (((short int) (tm . tm_mday)) + ((short int) (pc . rel . day))) - (1)) < 0) && (((short int) (tm . tm_mday)) + ((short int) (pc . rel . day))) < ((-32767 -1))) || (32767) < (((short int) (tm . tm_mday)) + ((short int) (pc . rel . day)))) ? (*(&day) = ((short int) ((unsigned int) ((short int) (tm . tm_mday)) + (unsigned int) ((short int) (pc . rel . day)))), 1) : (*(&day) = ((short int) ((unsigned int) ((short int) (tm . tm_mday)) + (unsigned int) ((short int) (pc . rel . day)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mday, pc . rel . day, (__typeof__ ((tm . tm_mday) + (pc . rel . day))) 0) || (((0 * ((tm . tm_mday) + (pc . rel . day)) - (1)) < 0) && ((tm . tm_mday) + (pc . rel . day)) < ((-32767 -1))) || (32767) < ((tm . tm_mday) + (pc . rel . day))) ? (*(&day) = ((short int) ((unsigned int) (tm . tm_mday) + (unsigned int) (pc . rel . day))), 1) : (*(&day) = ((short int) ((unsigned int) (tm . tm_mday) + (unsigned int) (pc . rel . day))), 0))) : sizeof *(&day) == sizeof (int) ? (sizeof ((tm . tm_mday) + (pc . rel . day)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (tm . tm_mday), (int) (pc . rel . day), (__typeof__ (((int) (tm . tm_mday)) + ((int) (pc . rel . day)))) 0) || (((0 * (((int) (tm . tm_mday)) + ((int) (pc . rel . day))) - (1)) < 0) && (((int) (tm . tm_mday)) + ((int) (pc . rel . day))) < ((-2147483647 -1))) || (2147483647) < (((int) (tm . tm_mday)) + ((int) (pc . rel . day)))) ? (*(&day) = ((int) ((unsigned int) ((int) (tm . tm_mday)) + (unsigned int) ((int) (pc . rel . day)))), 1) : (*(&day) = ((int) ((unsigned int) ((int) (tm . tm_mday)) + (unsigned int) ((int) (pc . rel . day)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mday, pc . rel . day, (__typeof__ ((tm . tm_mday) + (pc . rel . day))) 0) || (((0 * ((tm . tm_mday) + (pc . rel . day)) - (1)) < 0) && ((tm . tm_mday) + (pc . rel . day)) < ((-2147483647 -1))) || (2147483647) < ((tm . tm_mday) + (pc . rel . day))) ? (*(&day) = ((int) ((unsigned int) (tm . tm_mday) + (unsigned int) (pc . rel . day))), 1) : (*(&day) = ((int) ((unsigned int) (tm . tm_mday) + (unsigned int) (pc . rel . day))), 0))) : (sizeof *(&day) == sizeof (long int) ? (sizeof ((tm . tm_mday) + (pc . rel . day)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (tm . tm_mday), (long int) (pc . rel . day), (__typeof__ (((long int) (tm . tm_mday)) + ((long int) (pc . rel . day)))) 0) || (((0 * (((long int) (tm . tm_mday)) + ((long int) (pc . rel . day))) - (1)) < 0) && (((long int) (tm . tm_mday)) + ((long int) (pc . rel . day))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (tm . tm_mday)) + ((long int) (pc . rel . day)))) ? (*(&day) = ((long int) ((unsigned long int) ((long int) (tm . tm_mday)) + (unsigned long int) ((long int) (pc . rel . day)))), 1) : (*(&day) = ((long int) ((unsigned long int) ((long int) (tm . tm_mday)) + (unsigned long int) ((long int) (pc . rel . day)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mday, pc . rel . day, (__typeof__ ((tm . tm_mday) + (pc . rel . day))) 0) || (((0 * ((tm . tm_mday) + (pc . rel . day)) - (1)) < 0) && ((tm . tm_mday) + (pc . rel . day)) < ((-2147483647 -1L))) || (2147483647) < ((tm . tm_mday) + (pc . rel . day))) ? (*(&day) = ((long int) ((unsigned long int) (tm . tm_mday) + (unsigned long int) (pc . rel . day))), 1) : (*(&day) = ((long int) ((unsigned long int) (tm . tm_mday) + (unsigned long int) (pc . rel . day))), 0))) : (sizeof ((tm . tm_mday) + (pc . rel . day)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (tm . tm_mday), (long long int) (pc . rel . day), (__typeof__ (((long long int) (tm . tm_mday)) + ((long long int) (pc . rel . day)))) 0) || (((0 * (((long long int) (tm . tm_mday)) + ((long long int) (pc . rel . day))) - (1)) < 0) && (((long long int) (tm . tm_mday)) + ((long long int) (pc . rel . day))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (tm . tm_mday)) + ((long long int) (pc . rel . day)))) ? (*(&day) = ((long long int) ((unsigned long long int) ((long long int) (tm . tm_mday)) + (unsigned long long int) ((long long int) (pc . rel . day)))), 1) : (*(&day) = ((long long int) ((unsigned long long int) ((long long int) (tm . tm_mday)) + (unsigned long long int) ((long long int) (pc . rel . day)))), 0)) : ((__builtin_add_overflow_p (tm . tm_mday, pc . rel . day, (__typeof__ ((tm . tm_mday) + (pc . rel . day))) 0) || (((0 * ((tm . tm_mday) + (pc . rel . day)) - (1)) < 0) && ((tm . tm_mday) + (pc . rel . day)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((tm . tm_mday) + (pc . rel . day))) ? (*(&day) = ((long long int) ((unsigned long long int) (tm . tm_mday) + (unsigned long long int) (pc . rel . day))), 1) : (*(&day) = ((long long int) ((unsigned long long int) (tm . tm_mday) + (unsigned long long int) (pc . rel . day))), 0)))))) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: %s:%d\n"), "parse-datetime.y", 2172); goto fail; } tm.tm_year = year; tm.tm_mon = month; tm.tm_mday = day; tm.tm_hour = tm0.tm_hour; tm.tm_min = tm0.tm_min; tm.tm_sec = tm0.tm_sec; tm.tm_isdst = tm0.tm_isdst; Start = mktime_z (tz, &tm); if (Start == (time_t) -1) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: adding relative date resulted " "in an invalid date: '%s'\n"), debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); goto fail; } if (pc.parse_datetime_debug) { dbg_printf (gettext ("after date adjustment " "(%+" "ll" "d" " years, %+" "ll" "d" " months, " "%+" "ll" "d" " days),\n"), pc.rel.year, pc.rel.month, pc.rel.day); dbg_printf (gettext (" new date/time = '%s'\n"), debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); if (tm0.tm_isdst != -1 && tm.tm_isdst != tm0.tm_isdst) dbg_printf (gettext ("warning: daylight saving time changed after " "date adjustment\n")); if (pc.rel.day == 0 && (tm.tm_mday != day || (pc.rel.month == 0 && tm.tm_mon != month))) { dbg_printf (gettext ("warning: month/year adjustment resulted in " "shifted dates:\n")); char tm_year_buf[TM_YEAR_BUFSIZE]; dbg_printf (gettext (" adjusted Y M D: %s %02d %02d\n"), tm_year_str (year, tm_year_buf), month + 1, day); dbg_printf (gettext (" normalized Y M D: %s %02d %02d\n"), tm_year_str (tm.tm_year, tm_year_buf), tm.tm_mon + 1, tm.tm_mday); } } } if (pc.zones_seen) { intmax_t delta = pc.time_zone, t1; _Bool overflow = 0; long int utcoff = tm.tm_gmtoff; # 2265 "parse-datetime.y" overflow |= (sizeof *(&delta) == sizeof (signed char) ? (sizeof ((delta) - (utcoff)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (delta), (signed char) (utcoff), (__typeof__ (((signed char) (delta)) - ((signed char) (utcoff)))) 0) || (((0 * (((signed char) (delta)) - ((signed char) (utcoff))) - (1)) < 0) && (((signed char) (delta)) - ((signed char) (utcoff))) < ((-127-1))) || (127) < (((signed char) (delta)) - ((signed char) (utcoff)))) ? (*(&delta) = ((signed char) ((unsigned int) ((signed char) (delta)) - (unsigned int) ((signed char) (utcoff)))), 1) : (*(&delta) = ((signed char) ((unsigned int) ((signed char) (delta)) - (unsigned int) ((signed char) (utcoff)))), 0)) : ((__builtin_sub_overflow_p (delta, utcoff, (__typeof__ ((delta) - (utcoff))) 0) || (((0 * ((delta) - (utcoff)) - (1)) < 0) && ((delta) - (utcoff)) < ((-127-1))) || (127) < ((delta) - (utcoff))) ? (*(&delta) = ((signed char) ((unsigned int) (delta) - (unsigned int) (utcoff))), 1) : (*(&delta) = ((signed char) ((unsigned int) (delta) - (unsigned int) (utcoff))), 0))) : sizeof *(&delta) == sizeof (short int) ? (sizeof ((delta) - (utcoff)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (delta), (short int) (utcoff), (__typeof__ (((short int) (delta)) - ((short int) (utcoff)))) 0) || (((0 * (((short int) (delta)) - ((short int) (utcoff))) - (1)) < 0) && (((short int) (delta)) - ((short int) (utcoff))) < ((-32767 -1))) || (32767) < (((short int) (delta)) - ((short int) (utcoff)))) ? (*(&delta) = ((short int) ((unsigned int) ((short int) (delta)) - (unsigned int) ((short int) (utcoff)))), 1) : (*(&delta) = ((short int) ((unsigned int) ((short int) (delta)) - (unsigned int) ((short int) (utcoff)))), 0)) : ((__builtin_sub_overflow_p (delta, utcoff, (__typeof__ ((delta) - (utcoff))) 0) || (((0 * ((delta) - (utcoff)) - (1)) < 0) && ((delta) - (utcoff)) < ((-32767 -1))) || (32767) < ((delta) - (utcoff))) ? (*(&delta) = ((short int) ((unsigned int) (delta) - (unsigned int) (utcoff))), 1) : (*(&delta) = ((short int) ((unsigned int) (delta) - (unsigned int) (utcoff))), 0))) : sizeof *(&delta) == sizeof (int) ? (sizeof ((delta) - (utcoff)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (delta), (int) (utcoff), (__typeof__ (((int) (delta)) - ((int) (utcoff)))) 0) || (((0 * (((int) (delta)) - ((int) (utcoff))) - (1)) < 0) && (((int) (delta)) - ((int) (utcoff))) < ((-2147483647 -1))) || (2147483647) < (((int) (delta)) - ((int) (utcoff)))) ? (*(&delta) = ((int) ((unsigned int) ((int) (delta)) - (unsigned int) ((int) (utcoff)))), 1) : (*(&delta) = ((int) ((unsigned int) ((int) (delta)) - (unsigned int) ((int) (utcoff)))), 0)) : ((__builtin_sub_overflow_p (delta, utcoff, (__typeof__ ((delta) - (utcoff))) 0) || (((0 * ((delta) - (utcoff)) - (1)) < 0) && ((delta) - (utcoff)) < ((-2147483647 -1))) || (2147483647) < ((delta) - (utcoff))) ? (*(&delta) = ((int) ((unsigned int) (delta) - (unsigned int) (utcoff))), 1) : (*(&delta) = ((int) ((unsigned int) (delta) - (unsigned int) (utcoff))), 0))) : (sizeof *(&delta) == sizeof (long int) ? (sizeof ((delta) - (utcoff)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (delta), (long int) (utcoff), (__typeof__ (((long int) (delta)) - ((long int) (utcoff)))) 0) || (((0 * (((long int) (delta)) - ((long int) (utcoff))) - (1)) < 0) && (((long int) (delta)) - ((long int) (utcoff))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (delta)) - ((long int) (utcoff)))) ? (*(&delta) = ((long int) ((unsigned long int) ((long int) (delta)) - (unsigned long int) ((long int) (utcoff)))), 1) : (*(&delta) = ((long int) ((unsigned long int) ((long int) (delta)) - (unsigned long int) ((long int) (utcoff)))), 0)) : ((__builtin_sub_overflow_p (delta, utcoff, (__typeof__ ((delta) - (utcoff))) 0) || (((0 * ((delta) - (utcoff)) - (1)) < 0) && ((delta) - (utcoff)) < ((-2147483647 -1L))) || (2147483647) < ((delta) - (utcoff))) ? (*(&delta) = ((long int) ((unsigned long int) (delta) - (unsigned long int) (utcoff))), 1) : (*(&delta) = ((long int) ((unsigned long int) (delta) - (unsigned long int) (utcoff))), 0))) : (sizeof ((delta) - (utcoff)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (delta), (long long int) (utcoff), (__typeof__ (((long long int) (delta)) - ((long long int) (utcoff)))) 0) || (((0 * (((long long int) (delta)) - ((long long int) (utcoff))) - (1)) < 0) && (((long long int) (delta)) - ((long long int) (utcoff))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (delta)) - ((long long int) (utcoff)))) ? (*(&delta) = ((long long int) ((unsigned long long int) ((long long int) (delta)) - (unsigned long long int) ((long long int) (utcoff)))), 1) : (*(&delta) = ((long long int) ((unsigned long long int) ((long long int) (delta)) - (unsigned long long int) ((long long int) (utcoff)))), 0)) : ((__builtin_sub_overflow_p (delta, utcoff, (__typeof__ ((delta) - (utcoff))) 0) || (((0 * ((delta) - (utcoff)) - (1)) < 0) && ((delta) - (utcoff)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((delta) - (utcoff))) ? (*(&delta) = ((long long int) ((unsigned long long int) (delta) - (unsigned long long int) (utcoff))), 1) : (*(&delta) = ((long long int) ((unsigned long long int) (delta) - (unsigned long long int) (utcoff))), 0))))); overflow |= (sizeof *(&t1) == sizeof (signed char) ? (sizeof ((Start) - (delta)) < sizeof (signed char) ? ((__builtin_sub_overflow_p ((signed char) (Start), (signed char) (delta), (__typeof__ (((signed char) (Start)) - ((signed char) (delta)))) 0) || (((0 * (((signed char) (Start)) - ((signed char) (delta))) - (1)) < 0) && (((signed char) (Start)) - ((signed char) (delta))) < ((-127-1))) || (127) < (((signed char) (Start)) - ((signed char) (delta)))) ? (*(&t1) = ((signed char) ((unsigned int) ((signed char) (Start)) - (unsigned int) ((signed char) (delta)))), 1) : (*(&t1) = ((signed char) ((unsigned int) ((signed char) (Start)) - (unsigned int) ((signed char) (delta)))), 0)) : ((__builtin_sub_overflow_p (Start, delta, (__typeof__ ((Start) - (delta))) 0) || (((0 * ((Start) - (delta)) - (1)) < 0) && ((Start) - (delta)) < ((-127-1))) || (127) < ((Start) - (delta))) ? (*(&t1) = ((signed char) ((unsigned int) (Start) - (unsigned int) (delta))), 1) : (*(&t1) = ((signed char) ((unsigned int) (Start) - (unsigned int) (delta))), 0))) : sizeof *(&t1) == sizeof (short int) ? (sizeof ((Start) - (delta)) < sizeof (short int) ? ((__builtin_sub_overflow_p ((short int) (Start), (short int) (delta), (__typeof__ (((short int) (Start)) - ((short int) (delta)))) 0) || (((0 * (((short int) (Start)) - ((short int) (delta))) - (1)) < 0) && (((short int) (Start)) - ((short int) (delta))) < ((-32767 -1))) || (32767) < (((short int) (Start)) - ((short int) (delta)))) ? (*(&t1) = ((short int) ((unsigned int) ((short int) (Start)) - (unsigned int) ((short int) (delta)))), 1) : (*(&t1) = ((short int) ((unsigned int) ((short int) (Start)) - (unsigned int) ((short int) (delta)))), 0)) : ((__builtin_sub_overflow_p (Start, delta, (__typeof__ ((Start) - (delta))) 0) || (((0 * ((Start) - (delta)) - (1)) < 0) && ((Start) - (delta)) < ((-32767 -1))) || (32767) < ((Start) - (delta))) ? (*(&t1) = ((short int) ((unsigned int) (Start) - (unsigned int) (delta))), 1) : (*(&t1) = ((short int) ((unsigned int) (Start) - (unsigned int) (delta))), 0))) : sizeof *(&t1) == sizeof (int) ? (sizeof ((Start) - (delta)) < sizeof (int) ? ((__builtin_sub_overflow_p ((int) (Start), (int) (delta), (__typeof__ (((int) (Start)) - ((int) (delta)))) 0) || (((0 * (((int) (Start)) - ((int) (delta))) - (1)) < 0) && (((int) (Start)) - ((int) (delta))) < ((-2147483647 -1))) || (2147483647) < (((int) (Start)) - ((int) (delta)))) ? (*(&t1) = ((int) ((unsigned int) ((int) (Start)) - (unsigned int) ((int) (delta)))), 1) : (*(&t1) = ((int) ((unsigned int) ((int) (Start)) - (unsigned int) ((int) (delta)))), 0)) : ((__builtin_sub_overflow_p (Start, delta, (__typeof__ ((Start) - (delta))) 0) || (((0 * ((Start) - (delta)) - (1)) < 0) && ((Start) - (delta)) < ((-2147483647 -1))) || (2147483647) < ((Start) - (delta))) ? (*(&t1) = ((int) ((unsigned int) (Start) - (unsigned int) (delta))), 1) : (*(&t1) = ((int) ((unsigned int) (Start) - (unsigned int) (delta))), 0))) : (sizeof *(&t1) == sizeof (long int) ? (sizeof ((Start) - (delta)) < sizeof (long int) ? ((__builtin_sub_overflow_p ((long int) (Start), (long int) (delta), (__typeof__ (((long int) (Start)) - ((long int) (delta)))) 0) || (((0 * (((long int) (Start)) - ((long int) (delta))) - (1)) < 0) && (((long int) (Start)) - ((long int) (delta))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (Start)) - ((long int) (delta)))) ? (*(&t1) = ((long int) ((unsigned long int) ((long int) (Start)) - (unsigned long int) ((long int) (delta)))), 1) : (*(&t1) = ((long int) ((unsigned long int) ((long int) (Start)) - (unsigned long int) ((long int) (delta)))), 0)) : ((__builtin_sub_overflow_p (Start, delta, (__typeof__ ((Start) - (delta))) 0) || (((0 * ((Start) - (delta)) - (1)) < 0) && ((Start) - (delta)) < ((-2147483647 -1L))) || (2147483647) < ((Start) - (delta))) ? (*(&t1) = ((long int) ((unsigned long int) (Start) - (unsigned long int) (delta))), 1) : (*(&t1) = ((long int) ((unsigned long int) (Start) - (unsigned long int) (delta))), 0))) : (sizeof ((Start) - (delta)) < sizeof (long long int) ? ((__builtin_sub_overflow_p ((long long int) (Start), (long long int) (delta), (__typeof__ (((long long int) (Start)) - ((long long int) (delta)))) 0) || (((0 * (((long long int) (Start)) - ((long long int) (delta))) - (1)) < 0) && (((long long int) (Start)) - ((long long int) (delta))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (Start)) - ((long long int) (delta)))) ? (*(&t1) = ((long long int) ((unsigned long long int) ((long long int) (Start)) - (unsigned long long int) ((long long int) (delta)))), 1) : (*(&t1) = ((long long int) ((unsigned long long int) ((long long int) (Start)) - (unsigned long long int) ((long long int) (delta)))), 0)) : ((__builtin_sub_overflow_p (Start, delta, (__typeof__ ((Start) - (delta))) 0) || (((0 * ((Start) - (delta)) - (1)) < 0) && ((Start) - (delta)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((Start) - (delta))) ? (*(&t1) = ((long long int) ((unsigned long long int) (Start) - (unsigned long long int) (delta))), 1) : (*(&t1) = ((long long int) ((unsigned long long int) (Start) - (unsigned long long int) (delta))), 0))))); if (overflow || time_overflow (t1)) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: timezone %d caused time_t overflow\n"), pc.time_zone); goto fail; } Start = t1; } if (pc.parse_datetime_debug) { intmax_t Starti = Start; dbg_printf (gettext ("'%s' = %" "ll" "d" " epoch-seconds\n"), debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm), Starti); } { intmax_t orig_ns = pc.seconds.tv_nsec; intmax_t sum_ns = orig_ns + pc.rel.ns; int normalized_ns = (sum_ns % BILLION + BILLION) % BILLION; int d4 = (sum_ns - normalized_ns) / BILLION; intmax_t d1, t1, d2, t2, t3, t4; if ((sizeof *(&d1) == sizeof (signed char) ? (sizeof ((pc . rel . hour) * (60 * 60)) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) (pc . rel . hour), (signed char) (60 * 60), (__typeof__ (((signed char) (pc . rel . hour)) * ((signed char) (60 * 60)))) 0) || (((0 * (((signed char) (pc . rel . hour)) * ((signed char) (60 * 60))) - (1)) < 0) && (((signed char) (pc . rel . hour)) * ((signed char) (60 * 60))) < ((-127-1))) || (127) < (((signed char) (pc . rel . hour)) * ((signed char) (60 * 60)))) ? (*(&d1) = ((signed char) ((unsigned int) ((signed char) (pc . rel . hour)) * (unsigned int) ((signed char) (60 * 60)))), 1) : (*(&d1) = ((signed char) ((unsigned int) ((signed char) (pc . rel . hour)) * (unsigned int) ((signed char) (60 * 60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . hour, 60 * 60, (__typeof__ ((pc . rel . hour) * (60 * 60))) 0) || (((0 * ((pc . rel . hour) * (60 * 60)) - (1)) < 0) && ((pc . rel . hour) * (60 * 60)) < ((-127-1))) || (127) < ((pc . rel . hour) * (60 * 60))) ? (*(&d1) = ((signed char) ((unsigned int) (pc . rel . hour) * (unsigned int) (60 * 60))), 1) : (*(&d1) = ((signed char) ((unsigned int) (pc . rel . hour) * (unsigned int) (60 * 60))), 0))) : sizeof *(&d1) == sizeof (short int) ? (sizeof ((pc . rel . hour) * (60 * 60)) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) (pc . rel . hour), (short int) (60 * 60), (__typeof__ (((short int) (pc . rel . hour)) * ((short int) (60 * 60)))) 0) || (((0 * (((short int) (pc . rel . hour)) * ((short int) (60 * 60))) - (1)) < 0) && (((short int) (pc . rel . hour)) * ((short int) (60 * 60))) < ((-32767 -1))) || (32767) < (((short int) (pc . rel . hour)) * ((short int) (60 * 60)))) ? (*(&d1) = ((short int) ((unsigned int) ((short int) (pc . rel . hour)) * (unsigned int) ((short int) (60 * 60)))), 1) : (*(&d1) = ((short int) ((unsigned int) ((short int) (pc . rel . hour)) * (unsigned int) ((short int) (60 * 60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . hour, 60 * 60, (__typeof__ ((pc . rel . hour) * (60 * 60))) 0) || (((0 * ((pc . rel . hour) * (60 * 60)) - (1)) < 0) && ((pc . rel . hour) * (60 * 60)) < ((-32767 -1))) || (32767) < ((pc . rel . hour) * (60 * 60))) ? (*(&d1) = ((short int) ((unsigned int) (pc . rel . hour) * (unsigned int) (60 * 60))), 1) : (*(&d1) = ((short int) ((unsigned int) (pc . rel . hour) * (unsigned int) (60 * 60))), 0))) : sizeof *(&d1) == sizeof (int) ? (sizeof ((pc . rel . hour) * (60 * 60)) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) (pc . rel . hour), (int) (60 * 60), (__typeof__ (((int) (pc . rel . hour)) * ((int) (60 * 60)))) 0) || (((0 * (((int) (pc . rel . hour)) * ((int) (60 * 60))) - (1)) < 0) && (((int) (pc . rel . hour)) * ((int) (60 * 60))) < ((-2147483647 -1))) || (2147483647) < (((int) (pc . rel . hour)) * ((int) (60 * 60)))) ? (*(&d1) = ((int) ((unsigned int) ((int) (pc . rel . hour)) * (unsigned int) ((int) (60 * 60)))), 1) : (*(&d1) = ((int) ((unsigned int) ((int) (pc . rel . hour)) * (unsigned int) ((int) (60 * 60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . hour, 60 * 60, (__typeof__ ((pc . rel . hour) * (60 * 60))) 0) || (((0 * ((pc . rel . hour) * (60 * 60)) - (1)) < 0) && ((pc . rel . hour) * (60 * 60)) < ((-2147483647 -1))) || (2147483647) < ((pc . rel . hour) * (60 * 60))) ? (*(&d1) = ((int) ((unsigned int) (pc . rel . hour) * (unsigned int) (60 * 60))), 1) : (*(&d1) = ((int) ((unsigned int) (pc . rel . hour) * (unsigned int) (60 * 60))), 0))) : (sizeof *(&d1) == sizeof (long int) ? (sizeof ((pc . rel . hour) * (60 * 60)) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) (pc . rel . hour), (long int) (60 * 60), (__typeof__ (((long int) (pc . rel . hour)) * ((long int) (60 * 60)))) 0) || (((0 * (((long int) (pc . rel . hour)) * ((long int) (60 * 60))) - (1)) < 0) && (((long int) (pc . rel . hour)) * ((long int) (60 * 60))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (pc . rel . hour)) * ((long int) (60 * 60)))) ? (*(&d1) = ((long int) ((unsigned long int) ((long int) (pc . rel . hour)) * (unsigned long int) ((long int) (60 * 60)))), 1) : (*(&d1) = ((long int) ((unsigned long int) ((long int) (pc . rel . hour)) * (unsigned long int) ((long int) (60 * 60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . hour, 60 * 60, (__typeof__ ((pc . rel . hour) * (60 * 60))) 0) || (((0 * ((pc . rel . hour) * (60 * 60)) - (1)) < 0) && ((pc . rel . hour) * (60 * 60)) < ((-2147483647 -1L))) || (2147483647) < ((pc . rel . hour) * (60 * 60))) ? (*(&d1) = ((long int) ((unsigned long int) (pc . rel . hour) * (unsigned long int) (60 * 60))), 1) : (*(&d1) = ((long int) ((unsigned long int) (pc . rel . hour) * (unsigned long int) (60 * 60))), 0))) : (sizeof ((pc . rel . hour) * (60 * 60)) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) (pc . rel . hour), (long long int) (60 * 60), (__typeof__ (((long long int) (pc . rel . hour)) * ((long long int) (60 * 60)))) 0) || (((0 * (((long long int) (pc . rel . hour)) * ((long long int) (60 * 60))) - (1)) < 0) && (((long long int) (pc . rel . hour)) * ((long long int) (60 * 60))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (pc . rel . hour)) * ((long long int) (60 * 60)))) ? (*(&d1) = ((long long int) ((unsigned long long int) ((long long int) (pc . rel . hour)) * (unsigned long long int) ((long long int) (60 * 60)))), 1) : (*(&d1) = ((long long int) ((unsigned long long int) ((long long int) (pc . rel . hour)) * (unsigned long long int) ((long long int) (60 * 60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . hour, 60 * 60, (__typeof__ ((pc . rel . hour) * (60 * 60))) 0) || (((0 * ((pc . rel . hour) * (60 * 60)) - (1)) < 0) && ((pc . rel . hour) * (60 * 60)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((pc . rel . hour) * (60 * 60))) ? (*(&d1) = ((long long int) ((unsigned long long int) (pc . rel . hour) * (unsigned long long int) (60 * 60))), 1) : (*(&d1) = ((long long int) ((unsigned long long int) (pc . rel . hour) * (unsigned long long int) (60 * 60))), 0))))) || (sizeof *(&t1) == sizeof (signed char) ? (sizeof ((Start) + (d1)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (Start), (signed char) (d1), (__typeof__ (((signed char) (Start)) + ((signed char) (d1)))) 0) || (((0 * (((signed char) (Start)) + ((signed char) (d1))) - (1)) < 0) && (((signed char) (Start)) + ((signed char) (d1))) < ((-127-1))) || (127) < (((signed char) (Start)) + ((signed char) (d1)))) ? (*(&t1) = ((signed char) ((unsigned int) ((signed char) (Start)) + (unsigned int) ((signed char) (d1)))), 1) : (*(&t1) = ((signed char) ((unsigned int) ((signed char) (Start)) + (unsigned int) ((signed char) (d1)))), 0)) : ((__builtin_add_overflow_p (Start, d1, (__typeof__ ((Start) + (d1))) 0) || (((0 * ((Start) + (d1)) - (1)) < 0) && ((Start) + (d1)) < ((-127-1))) || (127) < ((Start) + (d1))) ? (*(&t1) = ((signed char) ((unsigned int) (Start) + (unsigned int) (d1))), 1) : (*(&t1) = ((signed char) ((unsigned int) (Start) + (unsigned int) (d1))), 0))) : sizeof *(&t1) == sizeof (short int) ? (sizeof ((Start) + (d1)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (Start), (short int) (d1), (__typeof__ (((short int) (Start)) + ((short int) (d1)))) 0) || (((0 * (((short int) (Start)) + ((short int) (d1))) - (1)) < 0) && (((short int) (Start)) + ((short int) (d1))) < ((-32767 -1))) || (32767) < (((short int) (Start)) + ((short int) (d1)))) ? (*(&t1) = ((short int) ((unsigned int) ((short int) (Start)) + (unsigned int) ((short int) (d1)))), 1) : (*(&t1) = ((short int) ((unsigned int) ((short int) (Start)) + (unsigned int) ((short int) (d1)))), 0)) : ((__builtin_add_overflow_p (Start, d1, (__typeof__ ((Start) + (d1))) 0) || (((0 * ((Start) + (d1)) - (1)) < 0) && ((Start) + (d1)) < ((-32767 -1))) || (32767) < ((Start) + (d1))) ? (*(&t1) = ((short int) ((unsigned int) (Start) + (unsigned int) (d1))), 1) : (*(&t1) = ((short int) ((unsigned int) (Start) + (unsigned int) (d1))), 0))) : sizeof *(&t1) == sizeof (int) ? (sizeof ((Start) + (d1)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (Start), (int) (d1), (__typeof__ (((int) (Start)) + ((int) (d1)))) 0) || (((0 * (((int) (Start)) + ((int) (d1))) - (1)) < 0) && (((int) (Start)) + ((int) (d1))) < ((-2147483647 -1))) || (2147483647) < (((int) (Start)) + ((int) (d1)))) ? (*(&t1) = ((int) ((unsigned int) ((int) (Start)) + (unsigned int) ((int) (d1)))), 1) : (*(&t1) = ((int) ((unsigned int) ((int) (Start)) + (unsigned int) ((int) (d1)))), 0)) : ((__builtin_add_overflow_p (Start, d1, (__typeof__ ((Start) + (d1))) 0) || (((0 * ((Start) + (d1)) - (1)) < 0) && ((Start) + (d1)) < ((-2147483647 -1))) || (2147483647) < ((Start) + (d1))) ? (*(&t1) = ((int) ((unsigned int) (Start) + (unsigned int) (d1))), 1) : (*(&t1) = ((int) ((unsigned int) (Start) + (unsigned int) (d1))), 0))) : (sizeof *(&t1) == sizeof (long int) ? (sizeof ((Start) + (d1)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (Start), (long int) (d1), (__typeof__ (((long int) (Start)) + ((long int) (d1)))) 0) || (((0 * (((long int) (Start)) + ((long int) (d1))) - (1)) < 0) && (((long int) (Start)) + ((long int) (d1))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (Start)) + ((long int) (d1)))) ? (*(&t1) = ((long int) ((unsigned long int) ((long int) (Start)) + (unsigned long int) ((long int) (d1)))), 1) : (*(&t1) = ((long int) ((unsigned long int) ((long int) (Start)) + (unsigned long int) ((long int) (d1)))), 0)) : ((__builtin_add_overflow_p (Start, d1, (__typeof__ ((Start) + (d1))) 0) || (((0 * ((Start) + (d1)) - (1)) < 0) && ((Start) + (d1)) < ((-2147483647 -1L))) || (2147483647) < ((Start) + (d1))) ? (*(&t1) = ((long int) ((unsigned long int) (Start) + (unsigned long int) (d1))), 1) : (*(&t1) = ((long int) ((unsigned long int) (Start) + (unsigned long int) (d1))), 0))) : (sizeof ((Start) + (d1)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (Start), (long long int) (d1), (__typeof__ (((long long int) (Start)) + ((long long int) (d1)))) 0) || (((0 * (((long long int) (Start)) + ((long long int) (d1))) - (1)) < 0) && (((long long int) (Start)) + ((long long int) (d1))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (Start)) + ((long long int) (d1)))) ? (*(&t1) = ((long long int) ((unsigned long long int) ((long long int) (Start)) + (unsigned long long int) ((long long int) (d1)))), 1) : (*(&t1) = ((long long int) ((unsigned long long int) ((long long int) (Start)) + (unsigned long long int) ((long long int) (d1)))), 0)) : ((__builtin_add_overflow_p (Start, d1, (__typeof__ ((Start) + (d1))) 0) || (((0 * ((Start) + (d1)) - (1)) < 0) && ((Start) + (d1)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((Start) + (d1))) ? (*(&t1) = ((long long int) ((unsigned long long int) (Start) + (unsigned long long int) (d1))), 1) : (*(&t1) = ((long long int) ((unsigned long long int) (Start) + (unsigned long long int) (d1))), 0))))) || (sizeof *(&d2) == sizeof (signed char) ? (sizeof ((pc . rel . minutes) * (60)) < sizeof (signed char) ? ((__builtin_mul_overflow_p ((signed char) (pc . rel . minutes), (signed char) (60), (__typeof__ (((signed char) (pc . rel . minutes)) * ((signed char) (60)))) 0) || (((0 * (((signed char) (pc . rel . minutes)) * ((signed char) (60))) - (1)) < 0) && (((signed char) (pc . rel . minutes)) * ((signed char) (60))) < ((-127-1))) || (127) < (((signed char) (pc . rel . minutes)) * ((signed char) (60)))) ? (*(&d2) = ((signed char) ((unsigned int) ((signed char) (pc . rel . minutes)) * (unsigned int) ((signed char) (60)))), 1) : (*(&d2) = ((signed char) ((unsigned int) ((signed char) (pc . rel . minutes)) * (unsigned int) ((signed char) (60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . minutes, 60, (__typeof__ ((pc . rel . minutes) * (60))) 0) || (((0 * ((pc . rel . minutes) * (60)) - (1)) < 0) && ((pc . rel . minutes) * (60)) < ((-127-1))) || (127) < ((pc . rel . minutes) * (60))) ? (*(&d2) = ((signed char) ((unsigned int) (pc . rel . minutes) * (unsigned int) (60))), 1) : (*(&d2) = ((signed char) ((unsigned int) (pc . rel . minutes) * (unsigned int) (60))), 0))) : sizeof *(&d2) == sizeof (short int) ? (sizeof ((pc . rel . minutes) * (60)) < sizeof (short int) ? ((__builtin_mul_overflow_p ((short int) (pc . rel . minutes), (short int) (60), (__typeof__ (((short int) (pc . rel . minutes)) * ((short int) (60)))) 0) || (((0 * (((short int) (pc . rel . minutes)) * ((short int) (60))) - (1)) < 0) && (((short int) (pc . rel . minutes)) * ((short int) (60))) < ((-32767 -1))) || (32767) < (((short int) (pc . rel . minutes)) * ((short int) (60)))) ? (*(&d2) = ((short int) ((unsigned int) ((short int) (pc . rel . minutes)) * (unsigned int) ((short int) (60)))), 1) : (*(&d2) = ((short int) ((unsigned int) ((short int) (pc . rel . minutes)) * (unsigned int) ((short int) (60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . minutes, 60, (__typeof__ ((pc . rel . minutes) * (60))) 0) || (((0 * ((pc . rel . minutes) * (60)) - (1)) < 0) && ((pc . rel . minutes) * (60)) < ((-32767 -1))) || (32767) < ((pc . rel . minutes) * (60))) ? (*(&d2) = ((short int) ((unsigned int) (pc . rel . minutes) * (unsigned int) (60))), 1) : (*(&d2) = ((short int) ((unsigned int) (pc . rel . minutes) * (unsigned int) (60))), 0))) : sizeof *(&d2) == sizeof (int) ? (sizeof ((pc . rel . minutes) * (60)) < sizeof (int) ? ((__builtin_mul_overflow_p ((int) (pc . rel . minutes), (int) (60), (__typeof__ (((int) (pc . rel . minutes)) * ((int) (60)))) 0) || (((0 * (((int) (pc . rel . minutes)) * ((int) (60))) - (1)) < 0) && (((int) (pc . rel . minutes)) * ((int) (60))) < ((-2147483647 -1))) || (2147483647) < (((int) (pc . rel . minutes)) * ((int) (60)))) ? (*(&d2) = ((int) ((unsigned int) ((int) (pc . rel . minutes)) * (unsigned int) ((int) (60)))), 1) : (*(&d2) = ((int) ((unsigned int) ((int) (pc . rel . minutes)) * (unsigned int) ((int) (60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . minutes, 60, (__typeof__ ((pc . rel . minutes) * (60))) 0) || (((0 * ((pc . rel . minutes) * (60)) - (1)) < 0) && ((pc . rel . minutes) * (60)) < ((-2147483647 -1))) || (2147483647) < ((pc . rel . minutes) * (60))) ? (*(&d2) = ((int) ((unsigned int) (pc . rel . minutes) * (unsigned int) (60))), 1) : (*(&d2) = ((int) ((unsigned int) (pc . rel . minutes) * (unsigned int) (60))), 0))) : (sizeof *(&d2) == sizeof (long int) ? (sizeof ((pc . rel . minutes) * (60)) < sizeof (long int) ? ((__builtin_mul_overflow_p ((long int) (pc . rel . minutes), (long int) (60), (__typeof__ (((long int) (pc . rel . minutes)) * ((long int) (60)))) 0) || (((0 * (((long int) (pc . rel . minutes)) * ((long int) (60))) - (1)) < 0) && (((long int) (pc . rel . minutes)) * ((long int) (60))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (pc . rel . minutes)) * ((long int) (60)))) ? (*(&d2) = ((long int) ((unsigned long int) ((long int) (pc . rel . minutes)) * (unsigned long int) ((long int) (60)))), 1) : (*(&d2) = ((long int) ((unsigned long int) ((long int) (pc . rel . minutes)) * (unsigned long int) ((long int) (60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . minutes, 60, (__typeof__ ((pc . rel . minutes) * (60))) 0) || (((0 * ((pc . rel . minutes) * (60)) - (1)) < 0) && ((pc . rel . minutes) * (60)) < ((-2147483647 -1L))) || (2147483647) < ((pc . rel . minutes) * (60))) ? (*(&d2) = ((long int) ((unsigned long int) (pc . rel . minutes) * (unsigned long int) (60))), 1) : (*(&d2) = ((long int) ((unsigned long int) (pc . rel . minutes) * (unsigned long int) (60))), 0))) : (sizeof ((pc . rel . minutes) * (60)) < sizeof (long long int) ? ((__builtin_mul_overflow_p ((long long int) (pc . rel . minutes), (long long int) (60), (__typeof__ (((long long int) (pc . rel . minutes)) * ((long long int) (60)))) 0) || (((0 * (((long long int) (pc . rel . minutes)) * ((long long int) (60))) - (1)) < 0) && (((long long int) (pc . rel . minutes)) * ((long long int) (60))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (pc . rel . minutes)) * ((long long int) (60)))) ? (*(&d2) = ((long long int) ((unsigned long long int) ((long long int) (pc . rel . minutes)) * (unsigned long long int) ((long long int) (60)))), 1) : (*(&d2) = ((long long int) ((unsigned long long int) ((long long int) (pc . rel . minutes)) * (unsigned long long int) ((long long int) (60)))), 0)) : ((__builtin_mul_overflow_p (pc . rel . minutes, 60, (__typeof__ ((pc . rel . minutes) * (60))) 0) || (((0 * ((pc . rel . minutes) * (60)) - (1)) < 0) && ((pc . rel . minutes) * (60)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((pc . rel . minutes) * (60))) ? (*(&d2) = ((long long int) ((unsigned long long int) (pc . rel . minutes) * (unsigned long long int) (60))), 1) : (*(&d2) = ((long long int) ((unsigned long long int) (pc . rel . minutes) * (unsigned long long int) (60))), 0))))) || (sizeof *(&t2) == sizeof (signed char) ? (sizeof ((t1) + (d2)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (t1), (signed char) (d2), (__typeof__ (((signed char) (t1)) + ((signed char) (d2)))) 0) || (((0 * (((signed char) (t1)) + ((signed char) (d2))) - (1)) < 0) && (((signed char) (t1)) + ((signed char) (d2))) < ((-127-1))) || (127) < (((signed char) (t1)) + ((signed char) (d2)))) ? (*(&t2) = ((signed char) ((unsigned int) ((signed char) (t1)) + (unsigned int) ((signed char) (d2)))), 1) : (*(&t2) = ((signed char) ((unsigned int) ((signed char) (t1)) + (unsigned int) ((signed char) (d2)))), 0)) : ((__builtin_add_overflow_p (t1, d2, (__typeof__ ((t1) + (d2))) 0) || (((0 * ((t1) + (d2)) - (1)) < 0) && ((t1) + (d2)) < ((-127-1))) || (127) < ((t1) + (d2))) ? (*(&t2) = ((signed char) ((unsigned int) (t1) + (unsigned int) (d2))), 1) : (*(&t2) = ((signed char) ((unsigned int) (t1) + (unsigned int) (d2))), 0))) : sizeof *(&t2) == sizeof (short int) ? (sizeof ((t1) + (d2)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (t1), (short int) (d2), (__typeof__ (((short int) (t1)) + ((short int) (d2)))) 0) || (((0 * (((short int) (t1)) + ((short int) (d2))) - (1)) < 0) && (((short int) (t1)) + ((short int) (d2))) < ((-32767 -1))) || (32767) < (((short int) (t1)) + ((short int) (d2)))) ? (*(&t2) = ((short int) ((unsigned int) ((short int) (t1)) + (unsigned int) ((short int) (d2)))), 1) : (*(&t2) = ((short int) ((unsigned int) ((short int) (t1)) + (unsigned int) ((short int) (d2)))), 0)) : ((__builtin_add_overflow_p (t1, d2, (__typeof__ ((t1) + (d2))) 0) || (((0 * ((t1) + (d2)) - (1)) < 0) && ((t1) + (d2)) < ((-32767 -1))) || (32767) < ((t1) + (d2))) ? (*(&t2) = ((short int) ((unsigned int) (t1) + (unsigned int) (d2))), 1) : (*(&t2) = ((short int) ((unsigned int) (t1) + (unsigned int) (d2))), 0))) : sizeof *(&t2) == sizeof (int) ? (sizeof ((t1) + (d2)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (t1), (int) (d2), (__typeof__ (((int) (t1)) + ((int) (d2)))) 0) || (((0 * (((int) (t1)) + ((int) (d2))) - (1)) < 0) && (((int) (t1)) + ((int) (d2))) < ((-2147483647 -1))) || (2147483647) < (((int) (t1)) + ((int) (d2)))) ? (*(&t2) = ((int) ((unsigned int) ((int) (t1)) + (unsigned int) ((int) (d2)))), 1) : (*(&t2) = ((int) ((unsigned int) ((int) (t1)) + (unsigned int) ((int) (d2)))), 0)) : ((__builtin_add_overflow_p (t1, d2, (__typeof__ ((t1) + (d2))) 0) || (((0 * ((t1) + (d2)) - (1)) < 0) && ((t1) + (d2)) < ((-2147483647 -1))) || (2147483647) < ((t1) + (d2))) ? (*(&t2) = ((int) ((unsigned int) (t1) + (unsigned int) (d2))), 1) : (*(&t2) = ((int) ((unsigned int) (t1) + (unsigned int) (d2))), 0))) : (sizeof *(&t2) == sizeof (long int) ? (sizeof ((t1) + (d2)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (t1), (long int) (d2), (__typeof__ (((long int) (t1)) + ((long int) (d2)))) 0) || (((0 * (((long int) (t1)) + ((long int) (d2))) - (1)) < 0) && (((long int) (t1)) + ((long int) (d2))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (t1)) + ((long int) (d2)))) ? (*(&t2) = ((long int) ((unsigned long int) ((long int) (t1)) + (unsigned long int) ((long int) (d2)))), 1) : (*(&t2) = ((long int) ((unsigned long int) ((long int) (t1)) + (unsigned long int) ((long int) (d2)))), 0)) : ((__builtin_add_overflow_p (t1, d2, (__typeof__ ((t1) + (d2))) 0) || (((0 * ((t1) + (d2)) - (1)) < 0) && ((t1) + (d2)) < ((-2147483647 -1L))) || (2147483647) < ((t1) + (d2))) ? (*(&t2) = ((long int) ((unsigned long int) (t1) + (unsigned long int) (d2))), 1) : (*(&t2) = ((long int) ((unsigned long int) (t1) + (unsigned long int) (d2))), 0))) : (sizeof ((t1) + (d2)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (t1), (long long int) (d2), (__typeof__ (((long long int) (t1)) + ((long long int) (d2)))) 0) || (((0 * (((long long int) (t1)) + ((long long int) (d2))) - (1)) < 0) && (((long long int) (t1)) + ((long long int) (d2))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (t1)) + ((long long int) (d2)))) ? (*(&t2) = ((long long int) ((unsigned long long int) ((long long int) (t1)) + (unsigned long long int) ((long long int) (d2)))), 1) : (*(&t2) = ((long long int) ((unsigned long long int) ((long long int) (t1)) + (unsigned long long int) ((long long int) (d2)))), 0)) : ((__builtin_add_overflow_p (t1, d2, (__typeof__ ((t1) + (d2))) 0) || (((0 * ((t1) + (d2)) - (1)) < 0) && ((t1) + (d2)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((t1) + (d2))) ? (*(&t2) = ((long long int) ((unsigned long long int) (t1) + (unsigned long long int) (d2))), 1) : (*(&t2) = ((long long int) ((unsigned long long int) (t1) + (unsigned long long int) (d2))), 0))))) || (sizeof *(&t3) == sizeof (signed char) ? (sizeof ((t2) + (pc . rel . seconds)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (t2), (signed char) (pc . rel . seconds), (__typeof__ (((signed char) (t2)) + ((signed char) (pc . rel . seconds)))) 0) || (((0 * (((signed char) (t2)) + ((signed char) (pc . rel . seconds))) - (1)) < 0) && (((signed char) (t2)) + ((signed char) (pc . rel . seconds))) < ((-127-1))) || (127) < (((signed char) (t2)) + ((signed char) (pc . rel . seconds)))) ? (*(&t3) = ((signed char) ((unsigned int) ((signed char) (t2)) + (unsigned int) ((signed char) (pc . rel . seconds)))), 1) : (*(&t3) = ((signed char) ((unsigned int) ((signed char) (t2)) + (unsigned int) ((signed char) (pc . rel . seconds)))), 0)) : ((__builtin_add_overflow_p (t2, pc . rel . seconds, (__typeof__ ((t2) + (pc . rel . seconds))) 0) || (((0 * ((t2) + (pc . rel . seconds)) - (1)) < 0) && ((t2) + (pc . rel . seconds)) < ((-127-1))) || (127) < ((t2) + (pc . rel . seconds))) ? (*(&t3) = ((signed char) ((unsigned int) (t2) + (unsigned int) (pc . rel . seconds))), 1) : (*(&t3) = ((signed char) ((unsigned int) (t2) + (unsigned int) (pc . rel . seconds))), 0))) : sizeof *(&t3) == sizeof (short int) ? (sizeof ((t2) + (pc . rel . seconds)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (t2), (short int) (pc . rel . seconds), (__typeof__ (((short int) (t2)) + ((short int) (pc . rel . seconds)))) 0) || (((0 * (((short int) (t2)) + ((short int) (pc . rel . seconds))) - (1)) < 0) && (((short int) (t2)) + ((short int) (pc . rel . seconds))) < ((-32767 -1))) || (32767) < (((short int) (t2)) + ((short int) (pc . rel . seconds)))) ? (*(&t3) = ((short int) ((unsigned int) ((short int) (t2)) + (unsigned int) ((short int) (pc . rel . seconds)))), 1) : (*(&t3) = ((short int) ((unsigned int) ((short int) (t2)) + (unsigned int) ((short int) (pc . rel . seconds)))), 0)) : ((__builtin_add_overflow_p (t2, pc . rel . seconds, (__typeof__ ((t2) + (pc . rel . seconds))) 0) || (((0 * ((t2) + (pc . rel . seconds)) - (1)) < 0) && ((t2) + (pc . rel . seconds)) < ((-32767 -1))) || (32767) < ((t2) + (pc . rel . seconds))) ? (*(&t3) = ((short int) ((unsigned int) (t2) + (unsigned int) (pc . rel . seconds))), 1) : (*(&t3) = ((short int) ((unsigned int) (t2) + (unsigned int) (pc . rel . seconds))), 0))) : sizeof *(&t3) == sizeof (int) ? (sizeof ((t2) + (pc . rel . seconds)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (t2), (int) (pc . rel . seconds), (__typeof__ (((int) (t2)) + ((int) (pc . rel . seconds)))) 0) || (((0 * (((int) (t2)) + ((int) (pc . rel . seconds))) - (1)) < 0) && (((int) (t2)) + ((int) (pc . rel . seconds))) < ((-2147483647 -1))) || (2147483647) < (((int) (t2)) + ((int) (pc . rel . seconds)))) ? (*(&t3) = ((int) ((unsigned int) ((int) (t2)) + (unsigned int) ((int) (pc . rel . seconds)))), 1) : (*(&t3) = ((int) ((unsigned int) ((int) (t2)) + (unsigned int) ((int) (pc . rel . seconds)))), 0)) : ((__builtin_add_overflow_p (t2, pc . rel . seconds, (__typeof__ ((t2) + (pc . rel . seconds))) 0) || (((0 * ((t2) + (pc . rel . seconds)) - (1)) < 0) && ((t2) + (pc . rel . seconds)) < ((-2147483647 -1))) || (2147483647) < ((t2) + (pc . rel . seconds))) ? (*(&t3) = ((int) ((unsigned int) (t2) + (unsigned int) (pc . rel . seconds))), 1) : (*(&t3) = ((int) ((unsigned int) (t2) + (unsigned int) (pc . rel . seconds))), 0))) : (sizeof *(&t3) == sizeof (long int) ? (sizeof ((t2) + (pc . rel . seconds)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (t2), (long int) (pc . rel . seconds), (__typeof__ (((long int) (t2)) + ((long int) (pc . rel . seconds)))) 0) || (((0 * (((long int) (t2)) + ((long int) (pc . rel . seconds))) - (1)) < 0) && (((long int) (t2)) + ((long int) (pc . rel . seconds))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (t2)) + ((long int) (pc . rel . seconds)))) ? (*(&t3) = ((long int) ((unsigned long int) ((long int) (t2)) + (unsigned long int) ((long int) (pc . rel . seconds)))), 1) : (*(&t3) = ((long int) ((unsigned long int) ((long int) (t2)) + (unsigned long int) ((long int) (pc . rel . seconds)))), 0)) : ((__builtin_add_overflow_p (t2, pc . rel . seconds, (__typeof__ ((t2) + (pc . rel . seconds))) 0) || (((0 * ((t2) + (pc . rel . seconds)) - (1)) < 0) && ((t2) + (pc . rel . seconds)) < ((-2147483647 -1L))) || (2147483647) < ((t2) + (pc . rel . seconds))) ? (*(&t3) = ((long int) ((unsigned long int) (t2) + (unsigned long int) (pc . rel . seconds))), 1) : (*(&t3) = ((long int) ((unsigned long int) (t2) + (unsigned long int) (pc . rel . seconds))), 0))) : (sizeof ((t2) + (pc . rel . seconds)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (t2), (long long int) (pc . rel . seconds), (__typeof__ (((long long int) (t2)) + ((long long int) (pc . rel . seconds)))) 0) || (((0 * (((long long int) (t2)) + ((long long int) (pc . rel . seconds))) - (1)) < 0) && (((long long int) (t2)) + ((long long int) (pc . rel . seconds))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (t2)) + ((long long int) (pc . rel . seconds)))) ? (*(&t3) = ((long long int) ((unsigned long long int) ((long long int) (t2)) + (unsigned long long int) ((long long int) (pc . rel . seconds)))), 1) : (*(&t3) = ((long long int) ((unsigned long long int) ((long long int) (t2)) + (unsigned long long int) ((long long int) (pc . rel . seconds)))), 0)) : ((__builtin_add_overflow_p (t2, pc . rel . seconds, (__typeof__ ((t2) + (pc . rel . seconds))) 0) || (((0 * ((t2) + (pc . rel . seconds)) - (1)) < 0) && ((t2) + (pc . rel . seconds)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((t2) + (pc . rel . seconds))) ? (*(&t3) = ((long long int) ((unsigned long long int) (t2) + (unsigned long long int) (pc . rel . seconds))), 1) : (*(&t3) = ((long long int) ((unsigned long long int) (t2) + (unsigned long long int) (pc . rel . seconds))), 0))))) || (sizeof *(&t4) == sizeof (signed char) ? (sizeof ((t3) + (d4)) < sizeof (signed char) ? ((__builtin_add_overflow_p ((signed char) (t3), (signed char) (d4), (__typeof__ (((signed char) (t3)) + ((signed char) (d4)))) 0) || (((0 * (((signed char) (t3)) + ((signed char) (d4))) - (1)) < 0) && (((signed char) (t3)) + ((signed char) (d4))) < ((-127-1))) || (127) < (((signed char) (t3)) + ((signed char) (d4)))) ? (*(&t4) = ((signed char) ((unsigned int) ((signed char) (t3)) + (unsigned int) ((signed char) (d4)))), 1) : (*(&t4) = ((signed char) ((unsigned int) ((signed char) (t3)) + (unsigned int) ((signed char) (d4)))), 0)) : ((__builtin_add_overflow_p (t3, d4, (__typeof__ ((t3) + (d4))) 0) || (((0 * ((t3) + (d4)) - (1)) < 0) && ((t3) + (d4)) < ((-127-1))) || (127) < ((t3) + (d4))) ? (*(&t4) = ((signed char) ((unsigned int) (t3) + (unsigned int) (d4))), 1) : (*(&t4) = ((signed char) ((unsigned int) (t3) + (unsigned int) (d4))), 0))) : sizeof *(&t4) == sizeof (short int) ? (sizeof ((t3) + (d4)) < sizeof (short int) ? ((__builtin_add_overflow_p ((short int) (t3), (short int) (d4), (__typeof__ (((short int) (t3)) + ((short int) (d4)))) 0) || (((0 * (((short int) (t3)) + ((short int) (d4))) - (1)) < 0) && (((short int) (t3)) + ((short int) (d4))) < ((-32767 -1))) || (32767) < (((short int) (t3)) + ((short int) (d4)))) ? (*(&t4) = ((short int) ((unsigned int) ((short int) (t3)) + (unsigned int) ((short int) (d4)))), 1) : (*(&t4) = ((short int) ((unsigned int) ((short int) (t3)) + (unsigned int) ((short int) (d4)))), 0)) : ((__builtin_add_overflow_p (t3, d4, (__typeof__ ((t3) + (d4))) 0) || (((0 * ((t3) + (d4)) - (1)) < 0) && ((t3) + (d4)) < ((-32767 -1))) || (32767) < ((t3) + (d4))) ? (*(&t4) = ((short int) ((unsigned int) (t3) + (unsigned int) (d4))), 1) : (*(&t4) = ((short int) ((unsigned int) (t3) + (unsigned int) (d4))), 0))) : sizeof *(&t4) == sizeof (int) ? (sizeof ((t3) + (d4)) < sizeof (int) ? ((__builtin_add_overflow_p ((int) (t3), (int) (d4), (__typeof__ (((int) (t3)) + ((int) (d4)))) 0) || (((0 * (((int) (t3)) + ((int) (d4))) - (1)) < 0) && (((int) (t3)) + ((int) (d4))) < ((-2147483647 -1))) || (2147483647) < (((int) (t3)) + ((int) (d4)))) ? (*(&t4) = ((int) ((unsigned int) ((int) (t3)) + (unsigned int) ((int) (d4)))), 1) : (*(&t4) = ((int) ((unsigned int) ((int) (t3)) + (unsigned int) ((int) (d4)))), 0)) : ((__builtin_add_overflow_p (t3, d4, (__typeof__ ((t3) + (d4))) 0) || (((0 * ((t3) + (d4)) - (1)) < 0) && ((t3) + (d4)) < ((-2147483647 -1))) || (2147483647) < ((t3) + (d4))) ? (*(&t4) = ((int) ((unsigned int) (t3) + (unsigned int) (d4))), 1) : (*(&t4) = ((int) ((unsigned int) (t3) + (unsigned int) (d4))), 0))) : (sizeof *(&t4) == sizeof (long int) ? (sizeof ((t3) + (d4)) < sizeof (long int) ? ((__builtin_add_overflow_p ((long int) (t3), (long int) (d4), (__typeof__ (((long int) (t3)) + ((long int) (d4)))) 0) || (((0 * (((long int) (t3)) + ((long int) (d4))) - (1)) < 0) && (((long int) (t3)) + ((long int) (d4))) < ((-2147483647 -1L))) || (2147483647) < (((long int) (t3)) + ((long int) (d4)))) ? (*(&t4) = ((long int) ((unsigned long int) ((long int) (t3)) + (unsigned long int) ((long int) (d4)))), 1) : (*(&t4) = ((long int) ((unsigned long int) ((long int) (t3)) + (unsigned long int) ((long int) (d4)))), 0)) : ((__builtin_add_overflow_p (t3, d4, (__typeof__ ((t3) + (d4))) 0) || (((0 * ((t3) + (d4)) - (1)) < 0) && ((t3) + (d4)) < ((-2147483647 -1L))) || (2147483647) < ((t3) + (d4))) ? (*(&t4) = ((long int) ((unsigned long int) (t3) + (unsigned long int) (d4))), 1) : (*(&t4) = ((long int) ((unsigned long int) (t3) + (unsigned long int) (d4))), 0))) : (sizeof ((t3) + (d4)) < sizeof (long long int) ? ((__builtin_add_overflow_p ((long long int) (t3), (long long int) (d4), (__typeof__ (((long long int) (t3)) + ((long long int) (d4)))) 0) || (((0 * (((long long int) (t3)) + ((long long int) (d4))) - (1)) < 0) && (((long long int) (t3)) + ((long long int) (d4))) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < (((long long int) (t3)) + ((long long int) (d4)))) ? (*(&t4) = ((long long int) ((unsigned long long int) ((long long int) (t3)) + (unsigned long long int) ((long long int) (d4)))), 1) : (*(&t4) = ((long long int) ((unsigned long long int) ((long long int) (t3)) + (unsigned long long int) ((long long int) (d4)))), 0)) : ((__builtin_add_overflow_p (t3, d4, (__typeof__ ((t3) + (d4))) 0) || (((0 * ((t3) + (d4)) - (1)) < 0) && ((t3) + (d4)) < ((-0x7fffffffffffffff-1LL))) || (0x7fffffffffffffff) < ((t3) + (d4))) ? (*(&t4) = ((long long int) ((unsigned long long int) (t3) + (unsigned long long int) (d4))), 1) : (*(&t4) = ((long long int) ((unsigned long long int) (t3) + (unsigned long long int) (d4))), 0))))) || time_overflow (t4)) { if (pc.parse_datetime_debug) dbg_printf (gettext ("error: adding relative time caused an " "overflow\n")); goto fail; } result->tv_sec = t4; result->tv_nsec = normalized_ns; if (pc.parse_datetime_debug && (pc.rel.hour | pc.rel.minutes | pc.rel.seconds | pc.rel.ns)) { dbg_printf (gettext ("after time adjustment (%+" "ll" "d" " hours, " "%+" "ll" "d" " minutes, " "%+" "ll" "d" " seconds, %+d ns),\n"), pc.rel.hour, pc.rel.minutes, pc.rel.seconds, pc.rel.ns); dbg_printf (gettext (" new time = %" "ll" "d" " epoch-seconds\n"), t4); struct tm lmt; if (tm.tm_isdst != -1 && localtime_rz (tz, &result->tv_sec, &lmt) && tm.tm_isdst != lmt.tm_isdst) dbg_printf (gettext ("warning: daylight saving time changed after " "time adjustment\n")); } } } if (pc.parse_datetime_debug) { if (! tzstring) dbg_printf (gettext ("timezone: system default\n")); else if ((strcmp (tzstring, "UTC0") == 0)) dbg_printf (gettext ("timezone: Universal Time\n")); else dbg_printf (gettext ("timezone: TZ=\"%s\" environment value\n"), tzstring); intmax_t sec = result->tv_sec; int nsec = result->tv_nsec; dbg_printf (gettext ("final: %" "ll" "d" ".%09d (epoch-seconds)\n"), sec, nsec); struct tm gmt, lmt; _Bool got_utc = !!gmtime_r (&result->tv_sec, &gmt); if (got_utc) dbg_printf (gettext ("final: %s (UTC)\n"), debug_strfdatetime (&gmt, ((void*)0), dbg_tm, sizeof dbg_tm)); if (localtime_rz (tz, &result->tv_sec, &lmt)) { _Bool got_utcoff = 1; long int utcoff = lmt.tm_gmtoff; # 2378 "parse-datetime.y" if (got_utcoff) dbg_printf (gettext ("final: %s (UTC%s)\n"), debug_strfdatetime (&lmt, ((void*)0), dbg_tm, sizeof dbg_tm), time_zone_str (utcoff, time_zone_buf)); else dbg_printf (gettext ("final: %s (unknown time zone offset)\n"), debug_strfdatetime (&lmt, ((void*)0), dbg_tm, sizeof dbg_tm)); } } ok = 1; fail: if (tz != tzdefault) tzfree (tz); free (tz1alloc); return ok; }