blob: 6ec7b72247f6347b89e51db9e6eac0d71a1430fe [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-phiopt1" } */
struct C { int i; };
int *g(struct C *p)
{
if (p)
return &p->i;
return (int *)0;
}
/* { dg-final { scan-tree-dump-not "if" "phiopt1" } } */
/* { dg-final { cleanup-tree-dump "phiopt1" } } */