1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dse1" } */
5 foo (int a
, int b
, int c
)
19 /* We should eliminate both assignments to *p. */
20 /* { dg-final { scan-tree-dump-times " = 3" 0 "dse1"} } */
21 /* { dg-final { scan-tree-dump-times " = 4" 0 "dse1"} } */
23 /* The return *p should be turned into return 4. */
24 /* { dg-final { scan-tree-dump-times " return 4" 1 "dse1"} } */
26 /* { dg-final { cleanup-tree-dump "dse1" } } */