view gcc/testsuite/gcc.c-torture/compile/20011114-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

typedef struct { int c, d, e, f, g; } D;

void bar (unsigned long, unsigned long);
void foo (D *y)
{
  int x = 0;

  if (y->f == 0)
    x |= 0x1;
  if (y->g == 0)
    x |= 0x2;
  bar ((x << 16) | (y->c & 0xffff), (y->d << 16) | (y->e & 0xffff));
}