summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/vrp111.c
blob: 2511c1964bb4053e2a8b66946d09b69225d30eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp" } */

void foo (void *p) __attribute__((nonnull(1)));

void bar (void *p)
{
  foo (p);
  if (!p)
    __builtin_abort ();
}

/* { dg-final { scan-tree-dump-not "abort" "evrp" } } */