summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr36988.c
blob: 44118d5dda3c8c95cbde0a8b33251d24bc56e39f (plain)
1
2
3
4
5
6
7
8
9
10
11
typedef struct {
    unsigned char mbxCommand;
} MAILBOX_t;
void lpfc_sli_brdrestart(void)
{
  volatile unsigned int word0;
  MAILBOX_t *mb;
  mb = (MAILBOX_t *) &word0;
  mb->mbxCommand = 0x1A;
  __writel((*(unsigned int *) mb));
}