summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-07-29 08:50:40 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-07-29 08:50:40 +0000
commit9b45e1d24a337e3f0047bf5056315169d4203b49 (patch)
tree06afa60b1eaefd53487abb33d64064d30a29d909 /driver
parent26eb2a1350dcf0355c58c45e300d593204affb83 (diff)
Interp.ml: initialize PRNG
Cexec.v: comments git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1691 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'driver')
-rw-r--r--driver/Interp.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/Interp.ml b/driver/Interp.ml
index 84037ae..a009086 100644
--- a/driver/Interp.ml
+++ b/driver/Interp.ml
@@ -400,6 +400,7 @@ let rec explore p prog ge time ss =
end
let execute prog =
+ Random.self_init();
let p = err_formatter in
pp_set_max_boxes p 10;
begin match Cexec.do_initial_state prog with