2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / phi-opt-6.c
blob780530d1e4233023b9bb7112aacd86253e13b8fe
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-phiopt1" } */
4 struct C { int i; };
5 int *g(struct C *p)
7 if (p)
8 return &p->i;
9 return (int *)0;
12 /* { dg-final { scan-tree-dump-not "if" "phiopt1" } } */