1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  
       4  void bar ()
       5  {
       6    int j;
       7    *(volatile int *)&j = 0;
       8  }
       9  
      10  /* { dg-final { scan-assembler-times "mov" 1 } } */
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  
       4  void bar ()
       5  {
       6    int j;
       7    *(volatile int *)&j = 0;
       8  }
       9  
      10  /* { dg-final { scan-assembler-times "mov" 1 } } */