1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int __sync_fetch_and_add_si (int *, int);
7 bar (volatile unsigned int *mem
, unsigned int val
)
9 return __sync_fetch_and_add_si((int *)mem
, (int)val
);
12 volatile unsigned int x
;
14 void foo (unsigned short *a
)