summaryrefslogtreecommitdiff
path: root/backend/CSEproof.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-12-30 16:37:05 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-12-30 16:37:05 +0000
commit51e8bc524d570439f868ec0bdbf718cb53ca7669 (patch)
tree5211b1971bdc1df4bc231dfef90cd15e3758a7e3 /backend/CSEproof.v
parent98089fdf4880b46a57aafa96ea00578e396bb58b (diff)
Ctypes.sizeof ty = 0 for empty types ty (zero-sized array, empty struct/union).
__builtin_memcpy_aligned now supports the case sz = 0. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2392 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/CSEproof.v')
-rw-r--r--backend/CSEproof.v1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/CSEproof.v b/backend/CSEproof.v
index 6c9331a..317fb82 100644
--- a/backend/CSEproof.v
+++ b/backend/CSEproof.v
@@ -1135,7 +1135,6 @@ Proof.
inv SOUND. eapply add_memcpy_holds; eauto.
eapply kill_loads_after_storebytes_holds; eauto.
eapply Mem.loadbytes_length; eauto.
- omega.
simpl. apply Ple_refl.
+ apply CASE2; inv H0; auto.
+ apply CASE2; inv H0; auto.