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
f77d2759
Commit
f77d2759
authored
Aug 13, 2019
by
Janne Blomqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR fortran/91414 Bugfix for previous commit
Correctly fill master_seed from os_seed. From-SVN: r274365
parent
0e99e093
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
libgfortran/intrinsics/random.c
+4
-1
No files found.
libgfortran/intrinsics/random.c
View file @
f77d2759
...
...
@@ -358,7 +358,10 @@ init_rand_state (prng_state* rs, const bool locked)
uint64_t
os_seed
;
getosrandom
(
&
os_seed
,
sizeof
(
os_seed
));
for
(
uint64_t
i
=
0
;
i
<
sizeof
(
master_state
)
/
sizeof
(
uint64_t
);
i
++
)
master_state
[
i
]
=
splitmix64
(
os_seed
);
{
os_seed
=
splitmix64
(
os_seed
);
master_state
[
i
]
=
os_seed
;
}
njumps
=
0
;
master_init
=
true
;
}
...
...
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