aboutsummaryrefslogtreecommitdiffstats
path: root/cfrontend
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2018-03-12 09:25:53 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2018-03-12 09:25:53 +0100
commitb125afc697c1214cb329967b506a4a740a942e81 (patch)
treef42085b4b76bdd9b2987e5077e12eadd6ba5bf95 /cfrontend
parent96913f741fa9bb31502e32178d67f9efb81033c3 (diff)
downloadcompcert-kvx-b125afc697c1214cb329967b506a4a740a942e81.tar.gz
compcert-kvx-b125afc697c1214cb329967b506a4a740a942e81.zip
Do not use "Require" inside sections (#224)
This will soon be deprecated by Coq. Manual merge of pull request #224 by vbgl. Closes: #224
Diffstat (limited to 'cfrontend')
-rw-r--r--cfrontend/Cstrategy.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/cfrontend/Cstrategy.v b/cfrontend/Cstrategy.v
index 2f731068..28c8eeb8 100644
--- a/cfrontend/Cstrategy.v
+++ b/cfrontend/Cstrategy.v
@@ -16,6 +16,7 @@
(** A deterministic evaluation strategy for C. *)
Require Import Axioms.
+Require Import Classical.
Require Import Coqlib.
Require Import Errors.
Require Import Maps.
@@ -433,8 +434,6 @@ Proof.
intros. eapply star_plus_trans; eauto. apply H1. eapply safe_steps; eauto. auto.
Qed.
-Require Import Classical.
-
Lemma safe_imm_safe:
forall f C a k e m K,
safe (ExprState f (C a) k e m) ->