(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr107997.c
       1  /* PR tree-optimization/107997 */
       2  
       3  int a, b;
       4  void bar (int);
       5  int baz (void);
       6  
       7  void *
       8  foo (int x, void *y)
       9  {
      10    asm goto ("" : : "r" (x || !a) : : l);
      11  l:
      12    if (y)
      13      return 0;
      14    bar (b ? b : x);
      15    while (x--)
      16      {
      17        if (!baz ())
      18  	baz ();
      19        asm goto ("" : : : : l2);
      20      l2:;
      21      }
      22    return y;
      23  }