aboutsummaryrefslogtreecommitdiffstats
path: root/cfrontend/Initializers.v
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-11 15:03:35 +0100
committerXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-11 15:03:35 +0100
commitab2905797cf196d792372e8794fe5a8f2116efd5 (patch)
tree720dea76e912901797674c42ff1def422f4fe8e4 /cfrontend/Initializers.v
parent18cb44c3db21f8b021e801f91f466712dc1697f8 (diff)
parent513489eb97c2b99f5ad901a0f26b493e99bbec1a (diff)
downloadcompcert-ab2905797cf196d792372e8794fe5a8f2116efd5.tar.gz
compcert-ab2905797cf196d792372e8794fe5a8f2116efd5.zip
Merge pull request #90 from AbsInt/sem-casts
Make casts of pointers to _Bool semantically well defined
Diffstat (limited to 'cfrontend/Initializers.v')
-rw-r--r--cfrontend/Initializers.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfrontend/Initializers.v b/cfrontend/Initializers.v
index b1a39c64..7228cd75 100644
--- a/cfrontend/Initializers.v
+++ b/cfrontend/Initializers.v
@@ -47,7 +47,7 @@ If [a] is a l-value, the returned value denotes:
*)
Definition do_cast (v: val) (t1 t2: type) : res val :=
- match sem_cast v t1 t2 with
+ match sem_cast v t1 t2 Mem.empty with
| Some v' => OK v'
| None => Error(msg "undefined cast")
end.