1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-ccp1 -fdelete-null-pointer-checks" } */ 3 /* { dg-skip-if "" keeps_null_pointer_checks } */ 4 t()5inline void t() 6 { 7 } m()8int m() 9 { 10 void *q = (void *)&t; 11 return q != 0; 12 } 13 /* { dg-final { scan-tree-dump "return 1" "ccp1"} } */ 14