From 001222523a8d3ed758761916d85432b8dde2b2c2 Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 21 Jun 2013 07:41:32 +0000 Subject: Recognize attribute((packed)) after a "struct {...}" and not just between "struct" and "{", for compatibility with GCC. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2285 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- test/regression/Results/packedstruct1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/regression/Results') diff --git a/test/regression/Results/packedstruct1 b/test/regression/Results/packedstruct1 index 0595cc38..e4bca769 100644 --- a/test/regression/Results/packedstruct1 +++ b/test/regression/Results/packedstruct1 @@ -19,3 +19,7 @@ sizeof(struct s5) = 14 offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 s5 = {x = 123, y = -456, z = 3.14159} +sizeof(struct s6) = 14 +offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 +s62 = {x = 123, y = -456, z = 3.14159} + -- cgit