--- Comment #1 from kargl at gcc dot gnu dot org 2009-08-24 17:19 ---
(In reply to comment #0)
The following code was compiled with
gfortran -g -o test_dtime test_dtime.f
The code is given by (very similar to that given in the info file for gfortran
program test_dtime
--- Comment #2 from fkrogh#gcc at mathalacarte dot com 2009-08-24 17:34
---
I had thought that was the case as well. But when I started getting some
negative times by subtracting the previous value from the current one in the
first location of the array I looked at the info file and
--- Comment #3 from dominiq at lps dot ens dot fr 2009-08-24 17:45 ---
dtime returns the time since the start of the process?
The manual says:
Subsequent invocations of DTIME return values accumulated since the previous
invocation.
--
--- Comment #4 from dominiq at lps dot ens dot fr 2009-08-24 18:16 ---
If I am not mistaken, the dtime behavior change between 4.2 and 4.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41157
--- Comment #5 from kargl at gcc dot gnu dot org 2009-08-24 19:40 ---
Confirmed.
I have a patch.
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |kargl at gcc dot gnu dot org
|dot org
--- 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=gccview=revrev=151072
Log:
2009-08-24 Steven G. Kargl ka...@gcc.gnu.org
PR
--- 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=gccview=revrev=151073
Log:
2009-08-24 Steven G. Kargl ka...@gcc.gnu.org
PR
--- Comment #9 from kargl at gcc dot gnu dot org 2009-08-25 03:33 ---
Fixed on trunk and 4.4.
Thanks for the bug report.
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added