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

     1  /* { dg-options "-O2 -funroll-loops -fno-tree-dominator-opts -fno-tree-loop-im -fno-code-hoisting -fno-tree-pre -fno-guess-branch-probability" } */
     2  int tw, be;
     3  
     4  void
     5  fp (void)
     6  {
     7    if (tw == 0)
     8      goto gq;
     9    else if (be == 0)
    10      goto ob;
    11    else
    12      return;
    13  
    14    for (;;)
    15      if (tw < 1)
    16        {
    17          while (tw < 1)
    18            {
    19   gq:
    20              tw = 0;
    21            }
    22  
    23          while (be < 1)
    24            {
    25   ob:
    26              tw = 0;
    27            }
    28  
    29          while (be < 1)
    30            ++be;
    31        }
    32  }
    33