(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr52171.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  /* { dg-final { scan-assembler-not "memcmp" } } */
       4  #include <string.h>
       5  struct A { int x; } a, b;
       6  
       7  extern char s[], t[];
       8  
       9  int foo ()
      10  {
      11    return memcmp (&a, &b, sizeof (struct A)) == 0;
      12  }