glibc/time
H.J. Lu 82c9a4f85e Use TIME_T_MAX and TIME_T_MIN in tst-mktime2.c
GCC 5.3 compiles

for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
    continue;

into an infinite loop with -Os.  We can copy TIME_T_MAX and TIME_T_MIN
from time/mktime.c.

	[BZ #19466]
	* time/tst-mktime2.c (time_t_max): Removed.
	(time_t_min): Likewise.
	(TYPE_SIGNED): New.
	(TYPE_MINIMUM): Likewise.
	(TYPE_MAXIMUM): Likewise.
	(TIME_T_MIN): Likewise.
	(TIME_T_MAX): Likewise.
	(mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
	and TIME_T_MIN.
	(do_test): Likewise.
2016-01-14 16:35:40 -08:00
..
sys Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
alt_digit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
asctime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
bug-asctime_r.c
bug-asctime.c
bug-getdate1.c
bug-mktime1.c
clock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
clocktest.c
ctime_r.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ctime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
datemsk
Depend
difftime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dysize.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
era.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ftime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getdate.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getitimer.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gettimeofday.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gmtime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
lc-time-cleanup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
localtime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Makefile Force rereading TZDEFRULES after it was used to set DST rules only (bug #19253) 2016-01-11 16:42:25 +01:00
mktime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
offtime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
setitimer.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
settimeofday.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strftime_l.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strftime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strptime_l.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strptime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
test_time.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
time.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
time.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timegm.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timespec_get.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst_wcsftime.c
tst-ftime_l.c
tst-ftime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-getdate.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mktime2.c Use TIME_T_MAX and TIME_T_MIN in tst-mktime2.c 2016-01-14 16:35:40 -08:00
tst-mktime3.c
tst-mktime.c
tst-posixtz.c
tst-strftime.c Fix BZ #18985 -- out of range data to strftime() causes a segfault 2015-09-26 13:27:48 -07:00
tst-strptime2.c time: in strptime(), make %z accept [+-]HH:MM tz [BZ #17887] 2015-09-18 01:17:15 -04:00
tst-strptime3.c
tst-strptime-whitespace.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-strptime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-tzname.c Force rereading TZDEFRULES after it was used to set DST rules only (bug #19253) 2016-01-11 16:42:25 +01:00
tzfile.c Force rereading TZDEFRULES after it was used to set DST rules only (bug #19253) 2016-01-11 16:42:25 +01:00
tzset.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Versions
wcsftime_l.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsftime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00