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