view gcc/testsuite/gcc.dg/lto/pr52097_0.c @ 131:84e7813d76e9

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

/* { dg-lto-do link } */
/* { dg-lto-options { { -O -flto -fexceptions -fnon-call-exceptions --param allow-store-data-races=0 } } } */

typedef struct { unsigned int e0 : 16; } s1;
typedef struct { unsigned int e0 : 16; } s2;
typedef struct { s1 i1; s2 i2; } io;

static io *i;

void f1 (void)
{
  s1 x0;
  i->i1 = x0;
}

int main ()
{
  f1 ();
  return 0;
}