[Bug libfortran/41157] dtime not consistent in times reported
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 25 01:47:00 GMT 2009
------- Comment #7 from kargl at gcc dot gnu dot org 2009-08-25 01:47 -------
Subject: Bug 41157
Author: kargl
Date: Tue Aug 25 01:47:23 2009
New Revision: 151072
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151072
Log:
2009-08-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41157
* dtime.c (dtime_sub): Fix computing time increment.
* time_1.h: Add <sys/types.h> header. Use RUSAGE_SELF macro instead
of a hardcoded 0.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/intrinsics/dtime.c
trunk/libgfortran/intrinsics/time_1.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41157
More information about the Gcc-bugs
mailing list