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

     1  /* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-Os" } } */
     2  
     3  
     4  int a = 1, b, d;
     5  short e;
     6  
     7  int
     8  main ()
     9  {
    10    for (; b; b++)
    11      ;
    12    short f = a;
    13    int g = 15;
    14    e = f ? f : 1 << g;
    15    int h = e;
    16    d = h == 83647 ? 0 : h;
    17    if (d != 1)
    18      __builtin_abort ();
    19    return 0;
    20  }