1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-dse1-details" } */
4 struct A
{ char c
[4]; } a
, b
;
9 __builtin_memcpy (&a
.c
[0], "a", 1);
16 __builtin_memcpy (&a
.c
[0], "a", 1);
17 __builtin_memcpy (&a
.c
[0], "cdef", 4);
20 /* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1" } } */