1  /* { dg-do compile } */
       2  /* { dg-require-effective-target arm_arch_v7r_ok } */
       3  /* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" "-march=*" } { "-mcpu=cortex-r5" } } */
       4  /* { dg-options "-O2 -mcpu=cortex-r5" } */
       5  
       6  #include <stdatomic.h>
       7  
       8  atomic_llong x = 0;
       9  
      10  atomic_llong get_x()
      11  {
      12    return atomic_load(&x);
      13  }
      14  
      15  /* { dg-final { scan-assembler-not "ldrd" } } */