Debian Codegraph @

debian/rust-vendor/aws-lc-sys/aws-lc/crypto/compiler_test.cc

raw
1 // Copyright (c) 2017, Google Inc.
2 // SPDX-License-Identifier: ISC
3
4 #include <limits.h>
5 #include <stdint.h>
6 #include <string.h>
7
8 #include <type_traits>
9
10 #include <gtest/gtest.h>
11
12 #include "test/test_util.h"
13
14
15 // C and C++ have two forms of unspecified behavior: undefined behavior and
16 // implementation-defined behavior.
17 //
18 // Programs that exhibit undefined behavior are invalid. Compilers are
19 // permitted to, and often do, arbitrarily miscompile them. BoringSSL thus aims
20 // to avoid undefined behavior.
21 //
22 // Implementation-defined behavior is left up to the compiler to define (or
23 // leave undefined). These are often platform-specific details, such as how big
24 // |int| is or how |uintN_t| is implemented. Programs that depend on
25 // implementation-defined behavior are not necessarily invalid, merely less
26 // portable. A compiler that provides some implementation-defined behavior is
27 // not permitted to miscompile code that depends on it.
28 //
29 // C allows a much wider range of platform behaviors than would be practical
30 // for us to support, so we make some assumptions on implementation-defined
31 // behavior. Platforms that violate those assumptions are not supported. This
32 // file aims to document and test these assumptions, so that platforms outside
33 // our scope are flagged.
34
35 template <typename T>
36 static void CheckRepresentation(T value) {
37 SCOPED_TRACE(value);
38
39 // Convert to the corresponding two's-complement unsigned value. We use an
40 // unsigned value so the right-shift below has defined value. Right-shifts of
41 // negative numbers in C are implementation defined.
42 //
43 // If |T| is already unsigned, this is a no-op, as desired.
44 //
45 // If |T| is signed, conversion to unsigned is defined to repeatedly add or
46 // subtract (numerically, not within |T|) one more than the unsigned type's
47 // maximum value until it fits (this must be a power of two). This is the
48 // conversion we want.
49 using UnsignedT = typename std::make_unsigned<T>::type;
50 UnsignedT value_u = static_cast<UnsignedT>(value);
51 EXPECT_EQ(sizeof(UnsignedT), sizeof(T));
52
53 uint8_t expected[sizeof(UnsignedT)];
54 for (size_t i = 0; i < sizeof(UnsignedT); i++) {
55 #ifdef OPENSSL_BIG_ENDIAN
56 expected[sizeof(UnsignedT) - i - 1] = static_cast<uint8_t>(value_u);
57 #else
58 expected[i] = static_cast<uint8_t>(value_u);
59 #endif
60 // Divide instead of right-shift to appease compilers that warn if |T| is a
61 // char. The explicit cast is also needed to appease MSVC if integer
62 // promotion happened.
63 value_u = static_cast<UnsignedT>(value_u / 256);
64 }
65 EXPECT_EQ(0u, value_u);
66
67 // Check that |value| has the expected representation.
68 EXPECT_EQ(Bytes(expected),
69 Bytes(reinterpret_cast<const uint8_t *>(&value), sizeof(value)));
70 }
71
72 TEST(CompilerTest, IntegerRepresentation) {
73 static_assert(CHAR_BIT == 8, "BoringSSL only supports 8-bit chars");
74 static_assert(UCHAR_MAX == 0xff, "BoringSSL only supports 8-bit chars");
75
76 // Require that |unsigned char| and |uint8_t| be the same type. We require
77 // that type-punning through |uint8_t| is not a strict aliasing violation. In
78 // principle, type-punning should be done with |memcpy|, which would make this
79 // moot.
80 //
81 // However, C made too many historical mistakes with the types and signedness
82 // of character strings. As a result, aliasing between all variations on 8-bit
83 // chars are a practical necessity for all real C code. We do not support
84 // toolchains that break this assumption.
85 static_assert(
86 std::is_same<unsigned char, uint8_t>::value,
87 "BoringSSL requires uint8_t and unsigned char be the same type");
88 uint8_t u8 = 0;
89 unsigned char *ptr = &u8;
90 (void)ptr;
91
92 // Sized integers have the expected size.
93 static_assert(sizeof(uint8_t) == 1u, "uint8_t has the wrong size");
94 static_assert(sizeof(uint16_t) == 2u, "uint16_t has the wrong size");
95 static_assert(sizeof(uint32_t) == 4u, "uint32_t has the wrong size");
96 static_assert(sizeof(uint64_t) == 8u, "uint64_t has the wrong size");
97
98 // size_t does not exceed uint64_t.
99 static_assert(sizeof(size_t) <= 8u, "size_t must not exceed uint64_t");
100
101 // Require that |int| be exactly 32 bits. OpenSSL historically mixed up
102 // |unsigned| and |uint32_t|, so we require it be at least 32 bits. Requiring
103 // at most 32-bits is a bit more subtle. C promotes arithemetic operands to
104 // |int| when they fit. But this means, if |int| is 2N bits wide, multiplying
105 // two maximum-sized |uintN_t|s is undefined by integer overflow!
106 //
107 // We attempt to handle this for |uint16_t|, assuming a 32-bit |int|, but we
108 // make no attempts to correct for this with |uint32_t| for a 64-bit |int|.
109 // Thus BoringSSL does not support ILP64 platforms.
110 //
111 // This test is on |INT_MAX| and |INT32_MAX| rather than sizeof because it is
112 // theoretically allowed for sizeof(int) to be 4 but include padding bits.
113 static_assert(INT_MAX == INT32_MAX, "BoringSSL requires int be 32-bit");
114 static_assert(UINT_MAX == UINT32_MAX,
115 "BoringSSL requires unsigned be 32-bit");
116
117 CheckRepresentation(static_cast<signed char>(127));
118 CheckRepresentation(static_cast<signed char>(1));
119 CheckRepresentation(static_cast<signed char>(0));
120 CheckRepresentation(static_cast<signed char>(-1));
121 CheckRepresentation(static_cast<signed char>(-42));
122 CheckRepresentation(static_cast<signed char>(-128));
123
124 CheckRepresentation(static_cast<int>(INT_MAX));
125 CheckRepresentation(static_cast<int>(0x12345678));
126 CheckRepresentation(static_cast<int>(1));
127 CheckRepresentation(static_cast<int>(0));
128 CheckRepresentation(static_cast<int>(-1));
129 CheckRepresentation(static_cast<int>(-0x12345678));
130 CheckRepresentation(static_cast<int>(INT_MIN));
131
132 CheckRepresentation(static_cast<unsigned>(UINT_MAX));
133 CheckRepresentation(static_cast<unsigned>(0x12345678));
134 CheckRepresentation(static_cast<unsigned>(1));
135 CheckRepresentation(static_cast<unsigned>(0));
136
137 CheckRepresentation(static_cast<long>(LONG_MAX));
138 CheckRepresentation(static_cast<long>(0x12345678));
139 CheckRepresentation(static_cast<long>(1));
140 CheckRepresentation(static_cast<long>(0));
141 CheckRepresentation(static_cast<long>(-1));
142 CheckRepresentation(static_cast<long>(-0x12345678));
143 CheckRepresentation(static_cast<long>(LONG_MIN));
144
145 CheckRepresentation(static_cast<unsigned long>(ULONG_MAX));
146 CheckRepresentation(static_cast<unsigned long>(0x12345678));
147 CheckRepresentation(static_cast<unsigned long>(1));
148 CheckRepresentation(static_cast<unsigned long>(0));
149
150 CheckRepresentation(static_cast<int16_t>(0x7fff));
151 CheckRepresentation(static_cast<int16_t>(0x1234));
152 CheckRepresentation(static_cast<int16_t>(1));
153 CheckRepresentation(static_cast<int16_t>(0));
154 CheckRepresentation(static_cast<int16_t>(-1));
155 CheckRepresentation(static_cast<int16_t>(-0x7fff - 1));
156
157 CheckRepresentation(static_cast<uint16_t>(0xffff));
158 CheckRepresentation(static_cast<uint16_t>(0x1234));
159 CheckRepresentation(static_cast<uint16_t>(1));
160 CheckRepresentation(static_cast<uint16_t>(0));
161
162 CheckRepresentation(static_cast<int32_t>(0x7fffffff));
163 CheckRepresentation(static_cast<int32_t>(0x12345678));
164 CheckRepresentation(static_cast<int32_t>(1));
165 CheckRepresentation(static_cast<int32_t>(0));
166 CheckRepresentation(static_cast<int32_t>(-1));
167 CheckRepresentation(static_cast<int32_t>(-0x7fffffff - 1));
168
169 CheckRepresentation(static_cast<uint32_t>(0xffffffff));
170 CheckRepresentation(static_cast<uint32_t>(0x12345678));
171 CheckRepresentation(static_cast<uint32_t>(1));
172 CheckRepresentation(static_cast<uint32_t>(0));
173
174 CheckRepresentation(static_cast<int64_t>(0x7fffffffffffffff));
175 CheckRepresentation(static_cast<int64_t>(0x123456789abcdef0));
176 CheckRepresentation(static_cast<int64_t>(1));
177 CheckRepresentation(static_cast<int64_t>(0));
178 CheckRepresentation(static_cast<int64_t>(-1));
179 CheckRepresentation(static_cast<int64_t>(-0x7fffffffffffffff - 1));
180
181 CheckRepresentation(static_cast<uint64_t>(0xffffffffffffffff));
182 CheckRepresentation(static_cast<uint64_t>(0x12345678abcdef0));
183 CheckRepresentation(static_cast<uint64_t>(1));
184 CheckRepresentation(static_cast<uint64_t>(0));
185 }
186
187 TEST(CompilerTest, PointerRepresentation) {
188 // Converting pointers to integers and doing arithmetic on those values are
189 // both defined. Converting those values back into pointers is undefined,
190 // but, for aliasing checks, we require that the implementation-defined
191 // result of that computation commutes with pointer arithmetic.
192 char chars[256];
193 for (size_t i = 0; i < sizeof(chars); i++) {
194 EXPECT_EQ(reinterpret_cast<uintptr_t>(chars) + i,
195 reinterpret_cast<uintptr_t>(chars + i));
196 }
197
198 int ints[256];
199 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(ints); i++) {
200 EXPECT_EQ(reinterpret_cast<uintptr_t>(ints) + i * sizeof(int),
201 reinterpret_cast<uintptr_t>(ints + i));
202 }
203
204 // nullptr must be represented by all zeros in memory. This is necessary so
205 // structs may be initialized by memset(0).
206 int *null = nullptr;
207 uint8_t bytes[sizeof(null)] = {0};
208 EXPECT_EQ(Bytes(bytes),
209 Bytes(reinterpret_cast<uint8_t *>(&null), sizeof(null)));
210 }
211
212 static bool verify_memory_alignment(void *aligned_ptr,
213 size_t requested_alignment) {
214 if ((((uintptr_t) aligned_ptr) % requested_alignment) == 0) {
215 return true;
216 }
217 else {
218 std::cerr << "requested_alignment = " << requested_alignment << std::endl;
219 std::cerr << "aligned_ptr = " << reinterpret_cast<void *>(aligned_ptr) << std::endl;
220 std::cerr << "aligned_ptr % requested_alignment = " << ((uintptr_t) aligned_ptr) % requested_alignment << std::endl;
221 }
222
223 return false;
224 }
225
226 typedef struct struct_array_type {
227 uint8_t buffer_uint8_t[10];
228 char buffer_char[21];
229 } struct_array_st;
230
231 typedef union union_array_type {
232 char buffer_char[9];
233 uint8_t buffer_uint8_t[16];
234 } union_array_st;
235
236 #define CHECK_STACK_ALIGNMENT(type, power_of_two, memory_size) \
237 stack_align_type buffer_##type##_##power_of_two##_##memory_size[power_of_two + memory_size]; \
238 type *aligned_##type##_##power_of_two##_##memory_size = (type *) align_pointer(buffer_##type##_##power_of_two##_##memory_size, power_of_two); \
239 ASSERT_TRUE(aligned_##type##_##power_of_two##_##memory_size); \
240 ASSERT_TRUE(verify_memory_alignment(aligned_##type##_##power_of_two##_##memory_size, power_of_two));
241
242 // Macro lists produced with the following Python script:
243 // MACRO_NAME = 'CHECK_STACK_ALIGNMENT'
244 // type_names = ['uint8_t', 'char', 'struct_array_st', 'union_array_type']
245 // power_of_twos = [1, 2, 4, 8, 16, 32, 64]
246 // for type_name in type_names:
247 // for power_of_two in power_of_twos:
248 // for memory_size in range(1, power_of_two):
249 // print '{}({}, {}, {})'.format(MACRO_NAME, type_name, power_of_two, memory_size)
250
251 // Windows doesn't like the big virtual functions produced. So, split this into
252 // several test fixtures.
253
254 TEST(AlignmentTest, StackBufferManualAlignmentTypes1) {
255
256 CHECK_STACK_ALIGNMENT(uint8_t, 2, 1)
257 CHECK_STACK_ALIGNMENT(uint8_t, 4, 1)
258 CHECK_STACK_ALIGNMENT(uint8_t, 4, 2)
259 CHECK_STACK_ALIGNMENT(uint8_t, 4, 3)
260 CHECK_STACK_ALIGNMENT(uint8_t, 8, 1)
261 CHECK_STACK_ALIGNMENT(uint8_t, 8, 2)
262 CHECK_STACK_ALIGNMENT(uint8_t, 8, 3)
263 CHECK_STACK_ALIGNMENT(uint8_t, 8, 4)
264 CHECK_STACK_ALIGNMENT(uint8_t, 8, 5)
265 CHECK_STACK_ALIGNMENT(uint8_t, 8, 6)
266 CHECK_STACK_ALIGNMENT(uint8_t, 8, 7)
267 CHECK_STACK_ALIGNMENT(uint8_t, 16, 1)
268 CHECK_STACK_ALIGNMENT(uint8_t, 16, 2)
269 CHECK_STACK_ALIGNMENT(uint8_t, 16, 3)
270 CHECK_STACK_ALIGNMENT(uint8_t, 16, 4)
271 CHECK_STACK_ALIGNMENT(uint8_t, 16, 5)
272 CHECK_STACK_ALIGNMENT(uint8_t, 16, 6)
273 CHECK_STACK_ALIGNMENT(uint8_t, 16, 7)
274 CHECK_STACK_ALIGNMENT(uint8_t, 16, 8)
275 CHECK_STACK_ALIGNMENT(uint8_t, 16, 9)
276 CHECK_STACK_ALIGNMENT(uint8_t, 16, 10)
277 CHECK_STACK_ALIGNMENT(uint8_t, 16, 11)
278 CHECK_STACK_ALIGNMENT(uint8_t, 16, 12)
279 CHECK_STACK_ALIGNMENT(uint8_t, 16, 13)
280 CHECK_STACK_ALIGNMENT(uint8_t, 16, 14)
281 CHECK_STACK_ALIGNMENT(uint8_t, 16, 15)
282 CHECK_STACK_ALIGNMENT(uint8_t, 32, 1)
283 CHECK_STACK_ALIGNMENT(uint8_t, 32, 2)
284 CHECK_STACK_ALIGNMENT(uint8_t, 32, 3)
285 CHECK_STACK_ALIGNMENT(uint8_t, 32, 4)
286 CHECK_STACK_ALIGNMENT(uint8_t, 32, 5)
287 CHECK_STACK_ALIGNMENT(uint8_t, 32, 6)
288 CHECK_STACK_ALIGNMENT(uint8_t, 32, 7)
289 CHECK_STACK_ALIGNMENT(uint8_t, 32, 8)
290 CHECK_STACK_ALIGNMENT(uint8_t, 32, 9)
291 CHECK_STACK_ALIGNMENT(uint8_t, 32, 10)
292 CHECK_STACK_ALIGNMENT(uint8_t, 32, 11)
293 CHECK_STACK_ALIGNMENT(uint8_t, 32, 12)
294 CHECK_STACK_ALIGNMENT(uint8_t, 32, 13)
295 CHECK_STACK_ALIGNMENT(uint8_t, 32, 14)
296 CHECK_STACK_ALIGNMENT(uint8_t, 32, 15)
297 CHECK_STACK_ALIGNMENT(uint8_t, 32, 16)
298 CHECK_STACK_ALIGNMENT(uint8_t, 32, 17)
299 CHECK_STACK_ALIGNMENT(uint8_t, 32, 18)
300 CHECK_STACK_ALIGNMENT(uint8_t, 32, 19)
301 CHECK_STACK_ALIGNMENT(uint8_t, 32, 20)
302 CHECK_STACK_ALIGNMENT(uint8_t, 32, 21)
303 CHECK_STACK_ALIGNMENT(uint8_t, 32, 22)
304 CHECK_STACK_ALIGNMENT(uint8_t, 32, 23)
305 CHECK_STACK_ALIGNMENT(uint8_t, 32, 24)
306 CHECK_STACK_ALIGNMENT(uint8_t, 32, 25)
307 CHECK_STACK_ALIGNMENT(uint8_t, 32, 26)
308 CHECK_STACK_ALIGNMENT(uint8_t, 32, 27)
309 CHECK_STACK_ALIGNMENT(uint8_t, 32, 28)
310 CHECK_STACK_ALIGNMENT(uint8_t, 32, 29)
311 CHECK_STACK_ALIGNMENT(uint8_t, 32, 30)
312 CHECK_STACK_ALIGNMENT(uint8_t, 32, 31)
313 CHECK_STACK_ALIGNMENT(uint8_t, 64, 1)
314 CHECK_STACK_ALIGNMENT(uint8_t, 64, 2)
315 CHECK_STACK_ALIGNMENT(uint8_t, 64, 3)
316 CHECK_STACK_ALIGNMENT(uint8_t, 64, 4)
317 CHECK_STACK_ALIGNMENT(uint8_t, 64, 5)
318 CHECK_STACK_ALIGNMENT(uint8_t, 64, 6)
319 CHECK_STACK_ALIGNMENT(uint8_t, 64, 7)
320 CHECK_STACK_ALIGNMENT(uint8_t, 64, 8)
321 CHECK_STACK_ALIGNMENT(uint8_t, 64, 9)
322 CHECK_STACK_ALIGNMENT(uint8_t, 64, 10)
323 CHECK_STACK_ALIGNMENT(uint8_t, 64, 11)
324 CHECK_STACK_ALIGNMENT(uint8_t, 64, 12)
325 CHECK_STACK_ALIGNMENT(uint8_t, 64, 13)
326 CHECK_STACK_ALIGNMENT(uint8_t, 64, 14)
327 CHECK_STACK_ALIGNMENT(uint8_t, 64, 15)
328 CHECK_STACK_ALIGNMENT(uint8_t, 64, 16)
329 CHECK_STACK_ALIGNMENT(uint8_t, 64, 17)
330 CHECK_STACK_ALIGNMENT(uint8_t, 64, 18)
331 CHECK_STACK_ALIGNMENT(uint8_t, 64, 19)
332 CHECK_STACK_ALIGNMENT(uint8_t, 64, 20)
333 CHECK_STACK_ALIGNMENT(uint8_t, 64, 21)
334 CHECK_STACK_ALIGNMENT(uint8_t, 64, 22)
335 CHECK_STACK_ALIGNMENT(uint8_t, 64, 23)
336 CHECK_STACK_ALIGNMENT(uint8_t, 64, 24)
337 CHECK_STACK_ALIGNMENT(uint8_t, 64, 25)
338 CHECK_STACK_ALIGNMENT(uint8_t, 64, 26)
339 CHECK_STACK_ALIGNMENT(uint8_t, 64, 27)
340 CHECK_STACK_ALIGNMENT(uint8_t, 64, 28)
341 CHECK_STACK_ALIGNMENT(uint8_t, 64, 29)
342 CHECK_STACK_ALIGNMENT(uint8_t, 64, 30)
343 CHECK_STACK_ALIGNMENT(uint8_t, 64, 31)
344 CHECK_STACK_ALIGNMENT(uint8_t, 64, 32)
345 CHECK_STACK_ALIGNMENT(uint8_t, 64, 33)
346 CHECK_STACK_ALIGNMENT(uint8_t, 64, 34)
347 CHECK_STACK_ALIGNMENT(uint8_t, 64, 35)
348 CHECK_STACK_ALIGNMENT(uint8_t, 64, 36)
349 CHECK_STACK_ALIGNMENT(uint8_t, 64, 37)
350 CHECK_STACK_ALIGNMENT(uint8_t, 64, 38)
351 CHECK_STACK_ALIGNMENT(uint8_t, 64, 39)
352 CHECK_STACK_ALIGNMENT(uint8_t, 64, 40)
353 CHECK_STACK_ALIGNMENT(uint8_t, 64, 41)
354 CHECK_STACK_ALIGNMENT(uint8_t, 64, 42)
355 CHECK_STACK_ALIGNMENT(uint8_t, 64, 43)
356 CHECK_STACK_ALIGNMENT(uint8_t, 64, 44)
357 CHECK_STACK_ALIGNMENT(uint8_t, 64, 45)
358 CHECK_STACK_ALIGNMENT(uint8_t, 64, 46)
359 CHECK_STACK_ALIGNMENT(uint8_t, 64, 47)
360 CHECK_STACK_ALIGNMENT(uint8_t, 64, 48)
361 CHECK_STACK_ALIGNMENT(uint8_t, 64, 49)
362 CHECK_STACK_ALIGNMENT(uint8_t, 64, 50)
363 CHECK_STACK_ALIGNMENT(uint8_t, 64, 51)
364 CHECK_STACK_ALIGNMENT(uint8_t, 64, 52)
365 CHECK_STACK_ALIGNMENT(uint8_t, 64, 53)
366 CHECK_STACK_ALIGNMENT(uint8_t, 64, 54)
367 CHECK_STACK_ALIGNMENT(uint8_t, 64, 55)
368 CHECK_STACK_ALIGNMENT(uint8_t, 64, 56)
369 CHECK_STACK_ALIGNMENT(uint8_t, 64, 57)
370 CHECK_STACK_ALIGNMENT(uint8_t, 64, 58)
371 CHECK_STACK_ALIGNMENT(uint8_t, 64, 59)
372 CHECK_STACK_ALIGNMENT(uint8_t, 64, 60)
373 CHECK_STACK_ALIGNMENT(uint8_t, 64, 61)
374 CHECK_STACK_ALIGNMENT(uint8_t, 64, 62)
375 CHECK_STACK_ALIGNMENT(uint8_t, 64, 63)
376 CHECK_STACK_ALIGNMENT(char, 2, 1)
377 CHECK_STACK_ALIGNMENT(char, 4, 1)
378 CHECK_STACK_ALIGNMENT(char, 4, 2)
379 CHECK_STACK_ALIGNMENT(char, 4, 3)
380 CHECK_STACK_ALIGNMENT(char, 8, 1)
381 CHECK_STACK_ALIGNMENT(char, 8, 2)
382 CHECK_STACK_ALIGNMENT(char, 8, 3)
383 CHECK_STACK_ALIGNMENT(char, 8, 4)
384 CHECK_STACK_ALIGNMENT(char, 8, 5)
385 CHECK_STACK_ALIGNMENT(char, 8, 6)
386 CHECK_STACK_ALIGNMENT(char, 8, 7)
387 CHECK_STACK_ALIGNMENT(char, 16, 1)
388 CHECK_STACK_ALIGNMENT(char, 16, 2)
389 CHECK_STACK_ALIGNMENT(char, 16, 3)
390 CHECK_STACK_ALIGNMENT(char, 16, 4)
391 CHECK_STACK_ALIGNMENT(char, 16, 5)
392 CHECK_STACK_ALIGNMENT(char, 16, 6)
393 CHECK_STACK_ALIGNMENT(char, 16, 7)
394 CHECK_STACK_ALIGNMENT(char, 16, 8)
395 CHECK_STACK_ALIGNMENT(char, 16, 9)
396 CHECK_STACK_ALIGNMENT(char, 16, 10)
397 CHECK_STACK_ALIGNMENT(char, 16, 11)
398 CHECK_STACK_ALIGNMENT(char, 16, 12)
399 CHECK_STACK_ALIGNMENT(char, 16, 13)
400 CHECK_STACK_ALIGNMENT(char, 16, 14)
401 CHECK_STACK_ALIGNMENT(char, 16, 15)
402 CHECK_STACK_ALIGNMENT(char, 32, 1)
403 CHECK_STACK_ALIGNMENT(char, 32, 2)
404 CHECK_STACK_ALIGNMENT(char, 32, 3)
405 CHECK_STACK_ALIGNMENT(char, 32, 4)
406 CHECK_STACK_ALIGNMENT(char, 32, 5)
407 CHECK_STACK_ALIGNMENT(char, 32, 6)
408 CHECK_STACK_ALIGNMENT(char, 32, 7)
409 CHECK_STACK_ALIGNMENT(char, 32, 8)
410 CHECK_STACK_ALIGNMENT(char, 32, 9)
411 CHECK_STACK_ALIGNMENT(char, 32, 10)
412 CHECK_STACK_ALIGNMENT(char, 32, 11)
413 CHECK_STACK_ALIGNMENT(char, 32, 12)
414 CHECK_STACK_ALIGNMENT(char, 32, 13)
415 CHECK_STACK_ALIGNMENT(char, 32, 14)
416 CHECK_STACK_ALIGNMENT(char, 32, 15)
417 CHECK_STACK_ALIGNMENT(char, 32, 16)
418 CHECK_STACK_ALIGNMENT(char, 32, 17)
419 CHECK_STACK_ALIGNMENT(char, 32, 18)
420 CHECK_STACK_ALIGNMENT(char, 32, 19)
421 CHECK_STACK_ALIGNMENT(char, 32, 20)
422 CHECK_STACK_ALIGNMENT(char, 32, 21)
423 CHECK_STACK_ALIGNMENT(char, 32, 22)
424 CHECK_STACK_ALIGNMENT(char, 32, 23)
425 CHECK_STACK_ALIGNMENT(char, 32, 24)
426 CHECK_STACK_ALIGNMENT(char, 32, 25)
427 CHECK_STACK_ALIGNMENT(char, 32, 26)
428 CHECK_STACK_ALIGNMENT(char, 32, 27)
429 CHECK_STACK_ALIGNMENT(char, 32, 28)
430 CHECK_STACK_ALIGNMENT(char, 32, 29)
431 CHECK_STACK_ALIGNMENT(char, 32, 30)
432 CHECK_STACK_ALIGNMENT(char, 32, 31)
433 CHECK_STACK_ALIGNMENT(char, 64, 1)
434 CHECK_STACK_ALIGNMENT(char, 64, 2)
435 CHECK_STACK_ALIGNMENT(char, 64, 3)
436 CHECK_STACK_ALIGNMENT(char, 64, 4)
437 CHECK_STACK_ALIGNMENT(char, 64, 5)
438 CHECK_STACK_ALIGNMENT(char, 64, 6)
439 CHECK_STACK_ALIGNMENT(char, 64, 7)
440 CHECK_STACK_ALIGNMENT(char, 64, 8)
441 CHECK_STACK_ALIGNMENT(char, 64, 9)
442 CHECK_STACK_ALIGNMENT(char, 64, 10)
443 CHECK_STACK_ALIGNMENT(char, 64, 11)
444 CHECK_STACK_ALIGNMENT(char, 64, 12)
445 CHECK_STACK_ALIGNMENT(char, 64, 13)
446 CHECK_STACK_ALIGNMENT(char, 64, 14)
447 CHECK_STACK_ALIGNMENT(char, 64, 15)
448 CHECK_STACK_ALIGNMENT(char, 64, 16)
449 CHECK_STACK_ALIGNMENT(char, 64, 17)
450 CHECK_STACK_ALIGNMENT(char, 64, 18)
451 CHECK_STACK_ALIGNMENT(char, 64, 19)
452 CHECK_STACK_ALIGNMENT(char, 64, 20)
453 CHECK_STACK_ALIGNMENT(char, 64, 21)
454 CHECK_STACK_ALIGNMENT(char, 64, 22)
455 CHECK_STACK_ALIGNMENT(char, 64, 23)
456 CHECK_STACK_ALIGNMENT(char, 64, 24)
457 CHECK_STACK_ALIGNMENT(char, 64, 25)
458 CHECK_STACK_ALIGNMENT(char, 64, 26)
459 CHECK_STACK_ALIGNMENT(char, 64, 27)
460 CHECK_STACK_ALIGNMENT(char, 64, 28)
461 CHECK_STACK_ALIGNMENT(char, 64, 29)
462 CHECK_STACK_ALIGNMENT(char, 64, 30)
463 CHECK_STACK_ALIGNMENT(char, 64, 31)
464 CHECK_STACK_ALIGNMENT(char, 64, 32)
465 CHECK_STACK_ALIGNMENT(char, 64, 33)
466 CHECK_STACK_ALIGNMENT(char, 64, 34)
467 CHECK_STACK_ALIGNMENT(char, 64, 35)
468 CHECK_STACK_ALIGNMENT(char, 64, 36)
469 CHECK_STACK_ALIGNMENT(char, 64, 37)
470 CHECK_STACK_ALIGNMENT(char, 64, 38)
471 CHECK_STACK_ALIGNMENT(char, 64, 39)
472 CHECK_STACK_ALIGNMENT(char, 64, 40)
473 CHECK_STACK_ALIGNMENT(char, 64, 41)
474 CHECK_STACK_ALIGNMENT(char, 64, 42)
475 CHECK_STACK_ALIGNMENT(char, 64, 43)
476 CHECK_STACK_ALIGNMENT(char, 64, 44)
477 CHECK_STACK_ALIGNMENT(char, 64, 45)
478 CHECK_STACK_ALIGNMENT(char, 64, 46)
479 CHECK_STACK_ALIGNMENT(char, 64, 47)
480 CHECK_STACK_ALIGNMENT(char, 64, 48)
481 CHECK_STACK_ALIGNMENT(char, 64, 49)
482 CHECK_STACK_ALIGNMENT(char, 64, 50)
483 CHECK_STACK_ALIGNMENT(char, 64, 51)
484 CHECK_STACK_ALIGNMENT(char, 64, 52)
485 CHECK_STACK_ALIGNMENT(char, 64, 53)
486 CHECK_STACK_ALIGNMENT(char, 64, 54)
487 CHECK_STACK_ALIGNMENT(char, 64, 55)
488 CHECK_STACK_ALIGNMENT(char, 64, 56)
489 CHECK_STACK_ALIGNMENT(char, 64, 57)
490 CHECK_STACK_ALIGNMENT(char, 64, 58)
491 CHECK_STACK_ALIGNMENT(char, 64, 59)
492 CHECK_STACK_ALIGNMENT(char, 64, 60)
493 CHECK_STACK_ALIGNMENT(char, 64, 61)
494 CHECK_STACK_ALIGNMENT(char, 64, 62)
495 CHECK_STACK_ALIGNMENT(char, 64, 63)
496
497 }
498
499 TEST(AlignmentTest, StackBufferManualAlignmentTypes2) {
500
501 CHECK_STACK_ALIGNMENT(struct_array_st, 2, 1)
502 CHECK_STACK_ALIGNMENT(struct_array_st, 4, 1)
503 CHECK_STACK_ALIGNMENT(struct_array_st, 4, 2)
504 CHECK_STACK_ALIGNMENT(struct_array_st, 4, 3)
505 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 1)
506 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 2)
507 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 3)
508 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 4)
509 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 5)
510 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 6)
511 CHECK_STACK_ALIGNMENT(struct_array_st, 8, 7)
512 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 1)
513 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 2)
514 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 3)
515 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 4)
516 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 5)
517 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 6)
518 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 7)
519 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 8)
520 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 9)
521 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 10)
522 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 11)
523 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 12)
524 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 13)
525 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 14)
526 CHECK_STACK_ALIGNMENT(struct_array_st, 16, 15)
527 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 1)
528 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 2)
529 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 3)
530 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 4)
531 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 5)
532 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 6)
533 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 7)
534 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 8)
535 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 9)
536 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 10)
537 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 11)
538 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 12)
539 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 13)
540 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 14)
541 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 15)
542 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 16)
543 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 17)
544 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 18)
545 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 19)
546 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 20)
547 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 21)
548 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 22)
549 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 23)
550 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 24)
551 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 25)
552 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 26)
553 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 27)
554 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 28)
555 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 29)
556 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 30)
557 CHECK_STACK_ALIGNMENT(struct_array_st, 32, 31)
558 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 1)
559 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 2)
560 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 3)
561 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 4)
562 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 5)
563 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 6)
564 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 7)
565 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 8)
566 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 9)
567 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 10)
568 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 11)
569 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 12)
570 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 13)
571 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 14)
572 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 15)
573 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 16)
574 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 17)
575 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 18)
576 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 19)
577 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 20)
578 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 21)
579 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 22)
580 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 23)
581 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 24)
582 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 25)
583 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 26)
584 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 27)
585 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 28)
586 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 29)
587 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 30)
588 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 31)
589 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 32)
590 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 33)
591 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 34)
592 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 35)
593 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 36)
594 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 37)
595 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 38)
596 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 39)
597 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 40)
598 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 41)
599 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 42)
600 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 43)
601 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 44)
602 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 45)
603 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 46)
604 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 47)
605 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 48)
606 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 49)
607 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 50)
608 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 51)
609 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 52)
610 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 53)
611 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 54)
612 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 55)
613 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 56)
614 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 57)
615 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 58)
616 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 59)
617 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 60)
618 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 61)
619 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 62)
620 CHECK_STACK_ALIGNMENT(struct_array_st, 64, 63)
621 CHECK_STACK_ALIGNMENT(union_array_type, 2, 1)
622 CHECK_STACK_ALIGNMENT(union_array_type, 4, 1)
623 CHECK_STACK_ALIGNMENT(union_array_type, 4, 2)
624 CHECK_STACK_ALIGNMENT(union_array_type, 4, 3)
625 CHECK_STACK_ALIGNMENT(union_array_type, 8, 1)
626 CHECK_STACK_ALIGNMENT(union_array_type, 8, 2)
627 CHECK_STACK_ALIGNMENT(union_array_type, 8, 3)
628 CHECK_STACK_ALIGNMENT(union_array_type, 8, 4)
629 CHECK_STACK_ALIGNMENT(union_array_type, 8, 5)
630 CHECK_STACK_ALIGNMENT(union_array_type, 8, 6)
631 CHECK_STACK_ALIGNMENT(union_array_type, 8, 7)
632 CHECK_STACK_ALIGNMENT(union_array_type, 16, 1)
633 CHECK_STACK_ALIGNMENT(union_array_type, 16, 2)
634 CHECK_STACK_ALIGNMENT(union_array_type, 16, 3)
635 CHECK_STACK_ALIGNMENT(union_array_type, 16, 4)
636 CHECK_STACK_ALIGNMENT(union_array_type, 16, 5)
637 CHECK_STACK_ALIGNMENT(union_array_type, 16, 6)
638 CHECK_STACK_ALIGNMENT(union_array_type, 16, 7)
639 CHECK_STACK_ALIGNMENT(union_array_type, 16, 8)
640 CHECK_STACK_ALIGNMENT(union_array_type, 16, 9)
641 CHECK_STACK_ALIGNMENT(union_array_type, 16, 10)
642 CHECK_STACK_ALIGNMENT(union_array_type, 16, 11)
643 CHECK_STACK_ALIGNMENT(union_array_type, 16, 12)
644 CHECK_STACK_ALIGNMENT(union_array_type, 16, 13)
645 CHECK_STACK_ALIGNMENT(union_array_type, 16, 14)
646 CHECK_STACK_ALIGNMENT(union_array_type, 16, 15)
647 CHECK_STACK_ALIGNMENT(union_array_type, 32, 1)
648 CHECK_STACK_ALIGNMENT(union_array_type, 32, 2)
649 CHECK_STACK_ALIGNMENT(union_array_type, 32, 3)
650 CHECK_STACK_ALIGNMENT(union_array_type, 32, 4)
651 CHECK_STACK_ALIGNMENT(union_array_type, 32, 5)
652 CHECK_STACK_ALIGNMENT(union_array_type, 32, 6)
653 CHECK_STACK_ALIGNMENT(union_array_type, 32, 7)
654 CHECK_STACK_ALIGNMENT(union_array_type, 32, 8)
655 CHECK_STACK_ALIGNMENT(union_array_type, 32, 9)
656 CHECK_STACK_ALIGNMENT(union_array_type, 32, 10)
657 CHECK_STACK_ALIGNMENT(union_array_type, 32, 11)
658 CHECK_STACK_ALIGNMENT(union_array_type, 32, 12)
659 CHECK_STACK_ALIGNMENT(union_array_type, 32, 13)
660 CHECK_STACK_ALIGNMENT(union_array_type, 32, 14)
661 CHECK_STACK_ALIGNMENT(union_array_type, 32, 15)
662 CHECK_STACK_ALIGNMENT(union_array_type, 32, 16)
663 CHECK_STACK_ALIGNMENT(union_array_type, 32, 17)
664 CHECK_STACK_ALIGNMENT(union_array_type, 32, 18)
665 CHECK_STACK_ALIGNMENT(union_array_type, 32, 19)
666 CHECK_STACK_ALIGNMENT(union_array_type, 32, 20)
667 CHECK_STACK_ALIGNMENT(union_array_type, 32, 21)
668 CHECK_STACK_ALIGNMENT(union_array_type, 32, 22)
669 CHECK_STACK_ALIGNMENT(union_array_type, 32, 23)
670 CHECK_STACK_ALIGNMENT(union_array_type, 32, 24)
671 CHECK_STACK_ALIGNMENT(union_array_type, 32, 25)
672 CHECK_STACK_ALIGNMENT(union_array_type, 32, 26)
673 CHECK_STACK_ALIGNMENT(union_array_type, 32, 27)
674 CHECK_STACK_ALIGNMENT(union_array_type, 32, 28)
675 CHECK_STACK_ALIGNMENT(union_array_type, 32, 29)
676 CHECK_STACK_ALIGNMENT(union_array_type, 32, 30)
677 CHECK_STACK_ALIGNMENT(union_array_type, 32, 31)
678 CHECK_STACK_ALIGNMENT(union_array_type, 64, 1)
679 CHECK_STACK_ALIGNMENT(union_array_type, 64, 2)
680 CHECK_STACK_ALIGNMENT(union_array_type, 64, 3)
681 CHECK_STACK_ALIGNMENT(union_array_type, 64, 4)
682 CHECK_STACK_ALIGNMENT(union_array_type, 64, 5)
683 CHECK_STACK_ALIGNMENT(union_array_type, 64, 6)
684 CHECK_STACK_ALIGNMENT(union_array_type, 64, 7)
685 CHECK_STACK_ALIGNMENT(union_array_type, 64, 8)
686 CHECK_STACK_ALIGNMENT(union_array_type, 64, 9)
687 CHECK_STACK_ALIGNMENT(union_array_type, 64, 10)
688 CHECK_STACK_ALIGNMENT(union_array_type, 64, 11)
689 CHECK_STACK_ALIGNMENT(union_array_type, 64, 12)
690 CHECK_STACK_ALIGNMENT(union_array_type, 64, 13)
691 CHECK_STACK_ALIGNMENT(union_array_type, 64, 14)
692 CHECK_STACK_ALIGNMENT(union_array_type, 64, 15)
693 CHECK_STACK_ALIGNMENT(union_array_type, 64, 16)
694 CHECK_STACK_ALIGNMENT(union_array_type, 64, 17)
695 CHECK_STACK_ALIGNMENT(union_array_type, 64, 18)
696 CHECK_STACK_ALIGNMENT(union_array_type, 64, 19)
697 CHECK_STACK_ALIGNMENT(union_array_type, 64, 20)
698 CHECK_STACK_ALIGNMENT(union_array_type, 64, 21)
699 CHECK_STACK_ALIGNMENT(union_array_type, 64, 22)
700 CHECK_STACK_ALIGNMENT(union_array_type, 64, 23)
701 CHECK_STACK_ALIGNMENT(union_array_type, 64, 24)
702 CHECK_STACK_ALIGNMENT(union_array_type, 64, 25)
703 CHECK_STACK_ALIGNMENT(union_array_type, 64, 26)
704 CHECK_STACK_ALIGNMENT(union_array_type, 64, 27)
705 CHECK_STACK_ALIGNMENT(union_array_type, 64, 28)
706 CHECK_STACK_ALIGNMENT(union_array_type, 64, 29)
707 CHECK_STACK_ALIGNMENT(union_array_type, 64, 30)
708 CHECK_STACK_ALIGNMENT(union_array_type, 64, 31)
709 CHECK_STACK_ALIGNMENT(union_array_type, 64, 32)
710 CHECK_STACK_ALIGNMENT(union_array_type, 64, 33)
711 CHECK_STACK_ALIGNMENT(union_array_type, 64, 34)
712 CHECK_STACK_ALIGNMENT(union_array_type, 64, 35)
713 CHECK_STACK_ALIGNMENT(union_array_type, 64, 36)
714 CHECK_STACK_ALIGNMENT(union_array_type, 64, 37)
715 CHECK_STACK_ALIGNMENT(union_array_type, 64, 38)
716 CHECK_STACK_ALIGNMENT(union_array_type, 64, 39)
717 CHECK_STACK_ALIGNMENT(union_array_type, 64, 40)
718 CHECK_STACK_ALIGNMENT(union_array_type, 64, 41)
719 CHECK_STACK_ALIGNMENT(union_array_type, 64, 42)
720 CHECK_STACK_ALIGNMENT(union_array_type, 64, 43)
721 CHECK_STACK_ALIGNMENT(union_array_type, 64, 44)
722 CHECK_STACK_ALIGNMENT(union_array_type, 64, 45)
723 CHECK_STACK_ALIGNMENT(union_array_type, 64, 46)
724 CHECK_STACK_ALIGNMENT(union_array_type, 64, 47)
725 CHECK_STACK_ALIGNMENT(union_array_type, 64, 48)
726 CHECK_STACK_ALIGNMENT(union_array_type, 64, 49)
727 CHECK_STACK_ALIGNMENT(union_array_type, 64, 50)
728 CHECK_STACK_ALIGNMENT(union_array_type, 64, 51)
729 CHECK_STACK_ALIGNMENT(union_array_type, 64, 52)
730 CHECK_STACK_ALIGNMENT(union_array_type, 64, 53)
731 CHECK_STACK_ALIGNMENT(union_array_type, 64, 54)
732 CHECK_STACK_ALIGNMENT(union_array_type, 64, 55)
733 CHECK_STACK_ALIGNMENT(union_array_type, 64, 56)
734 CHECK_STACK_ALIGNMENT(union_array_type, 64, 57)
735 CHECK_STACK_ALIGNMENT(union_array_type, 64, 58)
736 CHECK_STACK_ALIGNMENT(union_array_type, 64, 59)
737 CHECK_STACK_ALIGNMENT(union_array_type, 64, 60)
738 CHECK_STACK_ALIGNMENT(union_array_type, 64, 61)
739 CHECK_STACK_ALIGNMENT(union_array_type, 64, 62)
740 CHECK_STACK_ALIGNMENT(union_array_type, 64, 63)
741 }