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