1 /* PR tree-optimization/50078 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
10 unsigned v
= *(volatile unsigned *) (&nonvolvar
[arg
]);
11 *(volatile unsigned *) (&nonvolvar
[arg
]) = v
;
14 /* { dg-final { scan-assembler-times "movl\[^\n\r\]*nonvolvar" 2 { target { { i?86-*-* x86_64-*-* } && nonpic } } } } */