(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr56484.c
       1  /* PR rtl-optimization/56484 */
       2  
       3  unsigned char b[4096];
       4  int bar (void);
       5  
       6  int
       7  foo (void)
       8  {
       9    int a = 0;
      10    while (bar ())
      11      {
      12        int c = bar ();
      13        a = a < 0 ? a : c;
      14        __builtin_memset (b, 0, sizeof b);
      15      }
      16    return a;
      17  }