diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-05-08 07:59:10 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-05-08 07:59:10 +0000 |
commit | 054ce39caf060408f6555bcd0b6d90b5bf4c00c5 (patch) | |
tree | d65e5e2c2f352b5adbbf2442254e472ca1045797 /cfrontend/Initializersproof.v | |
parent | e61e84579869cecd6ee0f4ac40d750eeedd6d80f (diff) | |
download | compcert-kvx-054ce39caf060408f6555bcd0b6d90b5bf4c00c5.tar.gz compcert-kvx-054ce39caf060408f6555bcd0b6d90b5bf4c00c5.zip |
Missing case: initialization of a global variable of type _Bool.
Added corresponding test case.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2242 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cfrontend/Initializersproof.v')
-rw-r--r-- | cfrontend/Initializersproof.v | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cfrontend/Initializersproof.v b/cfrontend/Initializersproof.v index c2ca135c..2f29514b 100644 --- a/cfrontend/Initializersproof.v +++ b/cfrontend/Initializersproof.v @@ -504,6 +504,7 @@ Proof. destruct s; simpl in H2; inv H2. rewrite <- Mem.store_signed_unsigned_8; auto. auto. destruct s; simpl in H2; inv H2. rewrite <- Mem.store_signed_unsigned_16; auto. auto. simpl in H2; inv H2. assumption. + simpl in H2; inv H2. assumption. inv EQ2. simpl in H2; inv H2. assumption. (* long *) destruct ty; inv EQ2. simpl in H2; inv H2. assumption. |