This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/41157] dtime not consistent in times reported
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2009 03:30:46 -0000
- Subject: [Bug libfortran/41157] dtime not consistent in times reported
- References: <bug-41157-13341@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from kargl at gcc dot gnu dot org 2009-08-25 03:30 -------
Subject: Bug 41157
Author: kargl
Date: Tue Aug 25 03:30:25 2009
New Revision: 151073
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151073
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:
branches/gcc-4_4-branch/libgfortran/ChangeLog
branches/gcc-4_4-branch/libgfortran/intrinsics/dtime.c
branches/gcc-4_4-branch/libgfortran/intrinsics/time_1.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41157