(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr56992.c
       1  /* PR rtl-optimization/56992 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-Og -g" } */
       4  
       5  inline int
       6  foo (const char *x)
       7  {
       8    return __builtin_strlen (x);
       9  }
      10  
      11  int
      12  bar (const char *x, unsigned int *y)
      13  {
      14    unsigned int l = foo (x);
      15    if (l > 15)
      16      l = 15;
      17    *y = l;
      18  }