(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr61773.c
       1  /* PR tree-optimization/61773 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2" } */
       4  
       5  void
       6  foo (char **x)
       7  {
       8    char *p = __builtin_malloc (64);
       9    char *q = __builtin_malloc (64);
      10    __builtin_strcat (q, "abcde");
      11    __builtin_strcat (p, "ab");
      12    p[1] = q[3];
      13    __builtin_strcat (p, q);
      14    x[0] = p;
      15    x[1] = q;
      16  }