diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-12-30 16:37:05 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-12-30 16:37:05 +0000 |
commit | 51e8bc524d570439f868ec0bdbf718cb53ca7669 (patch) | |
tree | 5211b1971bdc1df4bc231dfef90cd15e3758a7e3 /backend/CSEproof.v | |
parent | 98089fdf4880b46a57aafa96ea00578e396bb58b (diff) | |
download | compcert-51e8bc524d570439f868ec0bdbf718cb53ca7669.tar.gz compcert-51e8bc524d570439f868ec0bdbf718cb53ca7669.zip |
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.v | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/CSEproof.v b/backend/CSEproof.v index 6c9331a6..317fb82f 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. |