aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/Results/packedstruct1
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-11-26 15:40:57 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-11-26 15:40:57 +0000
commit60b6624ae2b28ebe9fb30c2aa6115e4d5c1ab436 (patch)
treea78b0a79576773ead96a8d39902ad3a19b20ed2d /test/regression/Results/packedstruct1
parent015c64c64a5a547dcef81a75a589eeaf034654cd (diff)
downloadcompcert-60b6624ae2b28ebe9fb30c2aa6115e4d5c1ab436.tar.gz
compcert-60b6624ae2b28ebe9fb30c2aa6115e4d5c1ab436.zip
cparser/*: refactoring of the expansion of read-modify-write operators
cparser/PackedStructs: treat r-m-w operations over byte-swapped fields cparser/PackedStructs: allow static initialization of packed structs test/regression: more packedstruct tests git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1738 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression/Results/packedstruct1')
-rw-r--r--test/regression/Results/packedstruct15
1 files changed, 3 insertions, 2 deletions
diff --git a/test/regression/Results/packedstruct1 b/test/regression/Results/packedstruct1
index 75491328..0595cc38 100644
--- a/test/regression/Results/packedstruct1
+++ b/test/regression/Results/packedstruct1
@@ -7,8 +7,9 @@ sizeof(struct s2) = 16
offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6
s2 = {x = 57, y = -456, z = 3.14159}
-sizeof(struct s3) = 29
-s3 = {x = 123, y = 45678, z = 2147483649, v = -456, w = -1234567, p is ok, t = {111,222,333}}
+sizeof(struct s3) = 31
+offsetof(s) = 29
+s3 = {x = 123, y = 45678, z = 2147483649, v = -456, w = -1234567, p is ok, t = {111,222,333}, s = {'o','k'}}
sizeof(struct s4) = 16
offsetof(x) = 0, offsetof(y) = 4, offsetof(z) = 8