aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr78153-2.c
blob: de70450f1c9f6715ca72e46823494eeeb2ad3a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp-slim" } */

void f(const char *s)
{
  __PTRDIFF_TYPE__ n = __builtin_strlen (s);
  if (n < 0)
    __builtin_abort ();
}

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