modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/asmgoto-1.c (about)

     1  void fn (void);
     2  
     3  void
     4  foo (void *x, unsigned long y)
     5  {
     6    asm goto ("": : : : lab);
     7  lab:
     8    fn ();
     9  }
    10  
    11  static void
    12  bar (unsigned long x)
    13  {
    14    foo (0, x);
    15  }
    16  
    17  static void
    18  baz (unsigned long x)
    19  {
    20    if (x > 8192)
    21      bar (x);
    22    else
    23      ({ __here: (unsigned long) &&__here; });
    24  }
    25  
    26  void
    27  test (void)
    28  {
    29    baz (16384);
    30  }