IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-bswap-5.c
blobccac9663334decf0eca760e6d33df97113398990
1 /* { dg-do run } */
2 /* { dg-options "-O" } */
3 int
4 main (void)
6 /* Test constant folding. */
7 extern void link_error (void);
9 if (__builtin_bswap32(0xaabbccdd) != 0xddccbbaa)
10 link_error ();
12 if (__builtin_bswap64(0x1122334455667788ULL) != 0x8877665544332211ULL)
13 link_error ();
15 return 0;