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

     1  /* { dg-skip-if "ptxas crashes or executes incorrectly" { nvptx-*-* } { "-O0" "-Os" } { "" } } Reported 2015-11-20  */
     2  
     3  int a, b, d = 1, e, f, o, u, w = 1, z;
     4  short c, q, t;
     5  
     6  int
     7  main ()
     8  {
     9    char g;
    10    for (; d; d--)
    11      {
    12        while (o)
    13  	for (; e;)
    14  	  {
    15  	    c = b;
    16  	    int h = o = z;
    17  	    for (; u;)
    18  	      for (; a;)
    19  		;
    20  	  }
    21        if (t < 1)
    22  	g = w;
    23        f = g;
    24        g && (q = 1);
    25      }
    26  
    27    if (q != 1)
    28      __builtin_abort ();
    29  
    30    return 0;
    31  }