2 /* { dg-options "-fsso-struct=native" } */
3 /* { dg-require-effective-target int32plus } */
11 struct S1 my_s1
= { 0x12345678 };
13 unsigned char big_endian_pattern
[4] = { 0x12, 0x34, 0x56, 0x78 };
14 unsigned char little_endian_pattern
[4] = { 0x78, 0x56, 0x34, 0x12 };
18 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
19 if (__builtin_memcmp (&my_s1
, &little_endian_pattern
, 4) != 0)
22 if (__builtin_memcmp (&my_s1
, &big_endian_pattern
, 4) != 0)