summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20030319-1.c
blob: dc5ab5774a9912679c4023b8ac9247a7285cc481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR 10073 */
typedef struct
{
  unsigned short digits[4];
} INT_64;

INT_64 int_64_com (INT_64 a)
{
  a.digits[0] ^= 0xFFFF;
  a.digits[1] ^= 0xFFFF;
  a.digits[2] ^= 0xFFFF;
  a.digits[3] ^= 0xFFFF;
  return a;
}