(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
s390/
jump-label.c
       1  /* Test jdd constraint, which is used for linux kernel jump labels.  */
       2  
       3  /* { dg-do link } */
       4  /* { dg-options "-O2 -fPIC -shared" } */
       5  
       6  __attribute__ ((visibility ("default"))) extern int i;
       7  
       8  void f (void)
       9  {
      10    asm goto (".pushsection foo\n"
      11  #if defined(__s390x__)
      12              ".quad %0-.\n"
      13  #else
      14              ".long %0-.\n"
      15  #endif
      16              ".popsection\n"
      17              : : "jdd" (&i) : : l);
      18  l:;
      19  }