summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr63554.c
blob: 9162266da2ce6436510518d2255632b34928fd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR c/63554 - ice in "execute_todo, at passes.c:1797" with -O3
   { dg-do compile } */

char *a;
void
nssutil_ReadSecmodDB (void)
{
  long b = __builtin_object_size (0, 0);
  a = __builtin___strncat_chk (a, " ", 1, b);
}

/* { dg-prune-output "\\\[-Wstringop-overflow=]" } */