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

     1  /* PR tree-optimization/61684 */
     2  /* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-O1" "-Os" } } */
     3  
     4  int a, c;
     5  static int *b = 0;
     6  short d;
     7  static short **e = 0;
     8  
     9  void
    10  foo ()
    11  {
    12    for (; c < 1; c++)
    13      ;
    14    *e = &d;
    15    a = d && (c && 1) & *b;
    16  }