diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-11-06 10:39:43 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-11-06 10:39:43 +0000 |
commit | f9c799143067c3197dc925f7fd916206d075a25d (patch) | |
tree | a7ecd744efdd58fe38cb7ef2a2e8a77c196797b8 /test/regression/Results | |
parent | 61b43d3e1be5e8aad11cb3036fdb1872f0f363c3 (diff) |
Revised treatment of _Alignas, for better compatibility with GCC and Clang, and to avoid wasting global variable space by inflating their sizeof needlessly.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2362 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression/Results')
-rw-r--r-- | test/regression/Results/alignas | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regression/Results/alignas b/test/regression/Results/alignas new file mode 100644 index 0000000..1fc87a4 --- /dev/null +++ b/test/regression/Results/alignas @@ -0,0 +1,9 @@ +a: size = 4, alignment = 16, address mod 16 = 0 +b: size = 12, alignment = 16, address mod 16 = 0 +bb: size = 12, alignment = 16, address mod 16 = 0 +c: size = 32, alignment = 16, address mod 16 = 0 +d: size = 32, alignment = 32, address mod 32 = 0 +e: size = 16, alignment = 16, address mod 16 = 0 +f: size = 32, alignment = 32, address mod 32 = 0 +g: size = 96, alignment = 16, address mod 16 = 0 +h: size = 192, alignment = 64, address mod 64 = 0 |