[Bug libfortran/41157] dtime not consistent in times reported

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 25 03:30:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list