Skip to content
Snippets Groups Projects
Commit 3f624a62 authored by Francois-Xavier Coudert's avatar Francois-Xavier Coudert Committed by François-Xavier Coudert
Browse files

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.
parent 41cc2840
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment