This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/40190] DATE_AND_TIME returns GMT hour sometimes with OpenMP
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2009 22:11:03 -0000
- Subject: [Bug libfortran/40190] DATE_AND_TIME returns GMT hour sometimes with OpenMP
- References: <bug-40190-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hjl dot tools at gmail dot com 2009-05-18 22:11 -------
date_and_time isn't thread-safe. It should use gmtime_r and
localtime_r if they are available.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|fortran |libfortran
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40190