gcc/libgfortran/intrinsics
Francois-Xavier Coudert 3f624a624a Fix timezone handling near year boundaries
PR libfortran/98507

libgfortran/ChangeLog:

	* intrinsics/time_1.h: Prefer clock_gettime() over
	  gettimeofday().
	* intrinsics/date_and_time.c: Fix timezone wrapping.

gcc/testsuite/ChangeLog:

	* gfortran.dg/date_and_time_1.f90: New file.
2021-12-16 17:45:51 +01:00
..
abort.c Update copyright years. 2021-01-04 10:26:59 +01:00
access.c Update copyright years. 2021-01-04 10:26:59 +01:00
args.c Update copyright years. 2021-01-04 10:26:59 +01:00
associated.c Fortran: Fix associated intrinsic with assumed rank [PR101334] 2021-09-26 19:26:01 +02:00
c99_functions.c Update copyright years. 2021-01-04 10:26:59 +01:00
chdir.c Update copyright years. 2021-01-04 10:26:59 +01:00
chmod.c Fix "tailing" typo. 2021-06-08 09:42:18 +02:00
clock.c Update copyright years. 2021-01-04 10:26:59 +01:00
cpu_time.c Update copyright years. 2021-01-04 10:26:59 +01:00
cshift0.c Update copyright years. 2021-01-04 10:26:59 +01:00
ctime.c Update copyright years. 2021-01-04 10:26:59 +01:00
date_and_time.c Fix timezone handling near year boundaries 2021-12-16 17:45:51 +01:00
dprod_r8.f90 Update copyright years. 2021-01-04 10:26:59 +01:00
dtime.c Update copyright years. 2021-01-04 10:26:59 +01:00
env.c Update copyright years. 2021-01-04 10:26:59 +01:00
eoshift0.c Update copyright years. 2021-01-04 10:26:59 +01:00
eoshift2.c Update copyright years. 2021-01-04 10:26:59 +01:00
erfc_scaled_inc.c Update copyright years. 2021-01-04 10:26:59 +01:00
erfc_scaled.c Update copyright years. 2021-01-04 10:26:59 +01:00
etime.c Update copyright years. 2021-01-04 10:26:59 +01:00
execute_command_line.c Update copyright years. 2021-01-04 10:26:59 +01:00
exit.c Update copyright years. 2021-01-04 10:26:59 +01:00
extends_type_of.c Update copyright years. 2021-01-04 10:26:59 +01:00
f2c_specifics.F90 Update copyright years. 2021-01-04 10:26:59 +01:00
fnum.c Update copyright years. 2021-01-04 10:26:59 +01:00
gerror.c Update copyright years. 2021-01-04 10:26:59 +01:00
getcwd.c Update copyright years. 2021-01-04 10:26:59 +01:00
getlog.c Update copyright years. 2021-01-04 10:26:59 +01:00
getXid.c Update copyright years. 2021-01-04 10:26:59 +01:00
hostnm.c Update copyright years. 2021-01-04 10:26:59 +01:00
ierrno.c Update copyright years. 2021-01-04 10:26:59 +01:00
is_contiguous.c Update copyright years. 2021-01-04 10:26:59 +01:00
ishftc.c Update copyright years. 2021-01-04 10:26:59 +01:00
kill.c Update copyright years. 2021-01-04 10:26:59 +01:00
link.c Update copyright years. 2021-01-04 10:26:59 +01:00
move_alloc.c Update copyright years. 2021-01-04 10:26:59 +01:00
mvbits.c Update copyright years. 2021-01-04 10:26:59 +01:00
pack_generic.c Fortran: PACK intrinsic should not try to read from zero-sized array 2021-12-14 16:56:50 +01:00
perror.c Update copyright years. 2021-01-04 10:26:59 +01:00
rand.c Update copyright years. 2021-01-04 10:26:59 +01:00
random_init.f90 Steve Kargl <kargl@gcc.gnu.org> 2021-05-22 13:27:42 +02:00
random.c Update copyright years. 2021-01-04 10:26:59 +01:00
rename.c Update copyright years. 2021-01-04 10:26:59 +01:00
reshape_generic.c Update copyright years. 2021-01-04 10:26:59 +01:00
reshape_packed.c Update copyright years. 2021-01-04 10:26:59 +01:00
selected_char_kind.c Update copyright years. 2021-01-04 10:26:59 +01:00
selected_int_kind.f90 Update copyright years. 2021-01-04 10:26:59 +01:00
selected_real_kind.f90 Update copyright years. 2021-01-04 10:26:59 +01:00
signal.c Update copyright years. 2021-01-04 10:26:59 +01:00
size.c Fortran: Fix assumed-size to assumed-rank passing [PR94070] 2021-09-27 14:04:54 +02:00
sleep.c Update copyright years. 2021-01-04 10:26:59 +01:00
spread_generic.c Update copyright years. 2021-01-04 10:26:59 +01:00
stat.c Update copyright years. 2021-01-04 10:26:59 +01:00
string_intrinsics_inc.c Update copyright years. 2021-01-04 10:26:59 +01:00
string_intrinsics.c Update copyright years. 2021-01-04 10:26:59 +01:00
symlnk.c Update copyright years. 2021-01-04 10:26:59 +01:00
system_clock.c Update copyright years. 2021-01-04 10:26:59 +01:00
system.c Update copyright years. 2021-01-04 10:26:59 +01:00
time_1.h Fix timezone handling near year boundaries 2021-12-16 17:45:51 +01:00
time.c Update copyright years. 2021-01-04 10:26:59 +01:00
trigd_lib.inc Update copyright years. 2021-01-04 10:26:59 +01:00
trigd.c Update copyright years. 2021-01-04 10:26:59 +01:00
trigd.inc Update copyright years. 2021-01-04 10:26:59 +01:00
umask.c Update copyright years. 2021-01-04 10:26:59 +01:00
unlink.c Update copyright years. 2021-01-04 10:26:59 +01:00
unpack_generic.c Update copyright years. 2021-01-04 10:26:59 +01:00