1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
8 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
9 __builtin_memcpy(&a
, &b
, sizeof a
);
10 #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
11 __builtin_memcpy(&a
, (char *)&b
+ sizeof a
, sizeof a
);
18 /* { dg-final { scan-tree-dump "_\[0-9\]+ = \\(\[^)\]+\\) b" "cddce1" } } */