modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.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  }