modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr68328.c (about)

     1  int a, b, c = 1, d = 1, e;
     2  
     3  __attribute__ ((noinline, noclone))
     4       int foo (void)
     5  {
     6    asm volatile ("":::"memory");
     7    return 4195552;
     8  }
     9  
    10  __attribute__ ((noinline, noclone))
    11       void bar (int x, int y)
    12  {
    13    asm volatile (""::"g" (x), "g" (y):"memory");
    14    if (y == 0)
    15      __builtin_abort ();
    16  }
    17  
    18  int
    19  baz (int x)
    20  {
    21    char g, h;
    22    int i, j;
    23  
    24    foo ();
    25    for (;;)
    26      {
    27        if (c)
    28  	h = d;
    29        g = h < x ? h : 0;
    30        i = (signed char) ((unsigned char) (g - 120) ^ 1);
    31        j = i > 97;
    32        if (a - j)
    33  	bar (0x123456, 0);
    34        if (!b)
    35  	return e;
    36      }
    37  }
    38  
    39  int
    40  main ()
    41  {
    42    baz (2);
    43    return 0;
    44  }