modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr65648.c (about) 1 /* PR target/65648 */ 2 3 int a = 0, *b = 0, c = 0; 4 static int d = 0; 5 short e = 1; 6 static long long f = 0; 7 long long *i = &f; 8 unsigned char j = 0; 9 10 __attribute__((noinline, noclone)) void 11 foo (int x, int *y) 12 { 13 asm volatile ("" : : "r" (x), "r" (y) : "memory"); 14 } 15 16 __attribute__((noinline, noclone)) void 17 bar (const char *x, long long y) 18 { 19 asm volatile ("" : : "r" (x), "r" (&y) : "memory"); 20 if (y != 0) 21 __builtin_abort (); 22 } 23 24 int 25 main () 26 { 27 int k = 0; 28 b = &k; 29 j = (!a) - (c <= e); 30 *i = j; 31 foo (a, &k); 32 bar ("", f); 33 return 0; 34 }