(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr50768.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-ftracer" } */
       3  
       4  char data[8];
       5  int l1;
       6  
       7  void
       8  test1 (void)
       9  {
      10    char buf[8];
      11    __builtin___mempcpy_chk (buf, data, l1 ? sizeof (buf) : 4,
      12  			   __builtin_object_size (buf, 0));
      13    if (__builtin___memmove_chk
      14        (buf, data, l1 ? sizeof (buf) : 4,
      15         __builtin_object_size (buf, 0)) != buf)
      16      __builtin_abort ();
      17  }