diff options
-rw-r--r-- | cfrontend/Cexec.v | 16 | ||||
-rw-r--r-- | driver/Interp.ml | 1 |
2 files changed, 15 insertions, 2 deletions
diff --git a/cfrontend/Cexec.v b/cfrontend/Cexec.v index 3dd34c1c..383eeb8e 100644 --- a/cfrontend/Cexec.v +++ b/cfrontend/Cexec.v @@ -1,3 +1,17 @@ +(* *********************************************************************) +(* *) +(* The Compcert verified compiler *) +(* *) +(* Xavier Leroy, INRIA Paris-Rocquencourt *) +(* *) +(* Copyright Institut National de Recherche en Informatique et en *) +(* Automatique. All rights reserved. This file is distributed *) +(* under the terms of the INRIA Non-Commercial License Agreement. *) +(* *) +(* *********************************************************************) + +(** Animating the CompCert C semantics *) + Require Import Axioms. Require Import Coqlib. Require Import Errors. @@ -14,8 +28,6 @@ Require Import Csyntax. Require Import Csem. Require Cstrategy. -(** Animating the CompCert C semantics *) - Lemma type_eq: forall (ty1 ty2: type), {ty1=ty2} + {ty1<>ty2} with typelist_eq: forall (tyl1 tyl2: typelist), {tyl1=tyl2} + {tyl1<>tyl2} with fieldlist_eq: forall (fld1 fld2: fieldlist), {fld1=fld2} + {fld1<>fld2}. diff --git a/driver/Interp.ml b/driver/Interp.ml index 84037ae8..a0090866 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 |