2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dce-5.c
blobeb1b9dfa7e3c986105c0d0c8a85fde5dfb28b7d8
1 /* { dg-do compile } */
2 /* { dg-options "-O -fno-tree-sra -fdump-tree-cddce1" } */
4 struct X { int i; };
5 struct X foo(int b)
7 struct X x;
8 if (b)
9 x.i = 0;
10 x.i = 1;
11 return x;
14 /* { dg-final { scan-tree-dump-times "x.i =" 1 "cddce1" } } */