http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47431
Summary: ctime() not thread-safe Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org In libgfortran/intrinsics/ctime.c we call the POSIX ctime() function, which need not be thread safe. Instead, we should use ctime_r() if available.