modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr36988.c (about)

     1  typedef struct {
     2      unsigned char mbxCommand;
     3  } MAILBOX_t;
     4  void lpfc_sli_brdrestart(void)
     5  {
     6    volatile unsigned int word0;
     7    MAILBOX_t *mb;
     8    mb = (MAILBOX_t *) &word0;
     9    mb->mbxCommand = 0x1A;
    10    __writel((*(unsigned int *) mb));
    11  }