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

     1  /* { dg-options "-g" } */
     2  
     3  void
     4  foo (int x)
     5  {
     6    struct S { int s; } d = { 1 };
     7    unsigned int e = 1;
     8    if (x)
     9      e = x && d.s;
    10    else
    11      for (e = 0; e <= 3; e--)
    12        ;
    13    e++;
    14  }