Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
26837cfb
Commit
26837cfb
authored
May 09, 1999
by
Donn Terry
Committed by
Craig Burley
May 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard-conforming error check for [de]time_.c
From-SVN: r26849
parent
ea0f786b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
libf2c/ChangeLog
+5
-0
libf2c/libU77/dtime_.c
+1
-1
libf2c/libU77/etime_.c
+1
-1
No files found.
libf2c/ChangeLog
View file @
26837cfb
Fri May 7 9:33:55 1999 Donn Terry (donn@interix.com)
* libU77/dtime_.c (G77_dtime_0): Standard-conforming error check.
* libU77/etime_.c (G77_etime_0): Likewise.
Mon May 3 19:15:07 1999 Craig Burley <craig@jcb-sc.com>
* libU77/u77-test.f (main): Declare ABORT as intrinsic.
...
...
libf2c/libU77/dtime_.c
View file @
26837cfb
...
...
@@ -155,7 +155,7 @@ double G77_dtime_0 (real tarray[2])
# else
#error Dont know clock tick length
# endif
if
(
times
(
&
buffer
)
<
0
)
return
-
1
.
0
;
if
(
times
(
&
buffer
)
==
(
clock_t
)
-
1
)
return
-
1
.
0
;
utime
=
buffer
.
tms_utime
;
stime
=
buffer
.
tms_stime
;
tarray
[
0
]
=
((
float
)(
utime
-
old_utime
))
/
(
float
)
clk_tck
;
tarray
[
1
]
=
((
float
)(
stime
-
old_stime
))
/
(
float
)
clk_tck
;
...
...
libf2c/libU77/etime_.c
View file @
26837cfb
...
...
@@ -148,7 +148,7 @@ double G77_etime_0 (real tarray[2])
# else
#error Dont know clock tick length
# endif
if
(
times
(
&
buffer
)
<
0
)
return
-
1
.
0
;
if
(
times
(
&
buffer
)
==
(
clock_t
)
-
1
)
return
-
1
.
0
;
tarray
[
0
]
=
(
float
)
buffer
.
tms_utime
/
(
float
)
clk_tck
;
tarray
[
1
]
=
(
float
)
buffer
.
tms_stime
/
(
float
)
clk_tck
;
#endif
/* HAVE_GETRUSAGE */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment