1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
5 #define REV_ENDIANNESS __attribute__((scalar_storage_order("big-endian")))
7 #define REV_ENDIANNESS __attribute__((scalar_storage_order("little-endian")))
10 struct X
{ int *p
; } REV_ENDIANNESS
;
14 struct X
__attribute__((noinline
)) foo (int *p
)
21 void __attribute((noinline
)) bar (void)
26 extern void abort (void);