summaryrefslogtreecommitdiff
path: root/libf2c/libU77/u77-test.f
diff options
context:
space:
mode:
authorburley <burley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-03 16:07:36 +0000
committerburley <burley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-03 16:07:36 +0000
commit962b44cd2109140b5f1675af8d9eb1e518e0dc3b (patch)
tree0bccba439be532aedb5a155142134dfc7e74bd0b /libf2c/libU77/u77-test.f
parenta68ad8f39f73c6ab60804745501a44363d5b3339 (diff)
downloadgcc-962b44cd2109140b5f1675af8d9eb1e518e0dc3b.tar.gz
reverse order of arguments to CTIME_subr, DTIME_subr, ETIME_subr, and TTYNAM_subr
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26756 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/libU77/u77-test.f')
-rw-r--r--libf2c/libU77/u77-test.f8
1 files changed, 4 insertions, 4 deletions
diff --git a/libf2c/libU77/u77-test.f b/libf2c/libU77/u77-test.f
index 88a7a83e357..96ba31c572e 100644
--- a/libf2c/libU77/u77-test.f
+++ b/libf2c/libU77/u77-test.f
@@ -78,7 +78,7 @@
bigi = time8 ()
- call ctime (ctim2, i)
+ call ctime (i, ctim2)
if (ctim .ne. ctim2) then
write (6, *) '*** CALL CTIME disagrees with CTIME(): ',
+ ctim2(:lenstr (ctim2)), ' vs. ', ctim(:lenstr (ctim))
@@ -106,7 +106,7 @@
line = 'and 6 isn''t a tty device (ISATTY)'
end if
write (6,'(1X,A)') line(:lenstr(line))
- call ttynam (line, 6)
+ call ttynam (6, line)
if (line .ne. line2) then
print *, '*** CALL TTYNAM disagrees with TTYNAM: ',
+ line(:lenstr (line))
@@ -189,10 +189,10 @@ c now try to get times to change enough to see in etime/dtime
do i = 1,1000
do j = 1,1000
end do
- call dtime (r2, tarray2)
+ call dtime (tarray2, r2)
if (tarray2(1) .ne. 0. .or. tarray2(2) .ne. 0.) exit
end do
- call etime (r1, tarray1)
+ call etime (tarray1, r1)
if (.not. issum (r1, tarray1(1), tarray1(2))) then
write (6,*) '*** ETIME didn''t return sum of the array: ',
+ r1, ' /= ', tarray1(1), '+', tarray1(2)