(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
asm-flag-7.c
       1  /* Test that "=@cc*" works with MEM_P RTX  */
       2  /* PR target/102941 */
       3  /* { dg-do compile } */
       4  /* { dg-options "-O" } */
       5  
       6  #ifndef __GCC_ASM_FLAG_OUTPUTS__
       7  #error "missing preprocessor define"
       8  #endif
       9  int test_cmpu_x;
      10  
      11  void f(long *);
      12  long
      13  test_cmpu_y() {
      14    long le;
      15    f(&le);
      16    __asm__("cmp %"
      17            "[x], %"
      18            "[y]"
      19            : "=@ccls"(le)
      20            : [x] ""(test_cmpu_x), [y] ""(test_cmpu_y));
      21      return le;
      22  }