1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-release_ssa" } */
6 static const char string
[] __attribute__((aligned(sizeof(int)))) = "Private";
9 __builtin_memcpy(&priv
, &string
[0], sizeof(priv
));
13 /* We should have removed the static string and simplified the
14 memcpy to a store from an integer constant. CCP
15 already performs the simplification but only after release_ssa
16 the unused local static is removed. */
18 /* { dg-final { scan-tree-dump-not "Private" "release_ssa" } } */
19 /* { dg-final { cleanup-tree-dump "release_ssa" } } */