diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2021-12-16 12:40:03 +0100 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2021-12-16 17:45:51 +0100 |
commit | 3f624a624a137860e080fc959d7467a76aab263d (patch) | |
tree | 91e123ccaeb048f8435a21df811edbff52fc615f /libgfortran/io/unix.c | |
parent | 41cc28405c74a5ec59c6725274aaedefa9ca5887 (diff) | |
download | gcc-3f624a624a137860e080fc959d7467a76aab263d.zip gcc-3f624a624a137860e080fc959d7467a76aab263d.tar.gz gcc-3f624a624a137860e080fc959d7467a76aab263d.tar.bz2 |
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.
Diffstat (limited to 'libgfortran/io/unix.c')
0 files changed, 0 insertions, 0 deletions