2 /* { dg-options "-O -fdump-tree-alias-details -fdelete-null-pointer-checks" } */
5 void __attribute__((noinline
))
10 int __attribute__((noinline
))
20 *p
= &x
; /* This makes x escape. */
24 extern void abort (void);
29 if (bar (1) != 0 || k
!= 1)
36 /* { dg-final { scan-tree-dump "ESCAPED = { NULL ESCAPED NONLOCAL x }" "alias" { target { ! keeps_null_pointer_checks } } } } */
37 /* { dg-final { scan-tree-dump "ESCAPED = { ESCAPED NONLOCAL x }" "alias" { target { keeps_null_pointer_checks } } } } */