2 /* { dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */
3 /* { dg-options "-fsanitize=object-size -fno-sanitize-recover=object-size" } */
9 __attribute__((noinline
, noclone
)) void
14 orig
= p
= (char *) __builtin_calloc (N
, 1);
20 __builtin_free (orig
);
23 __attribute__((noinline
, noclone
)) void
28 __builtin_memset (a
, 0, N
);
38 __attribute__((noinline
, noclone
)) void
42 int *p
= (int *) __builtin_calloc (N
, sizeof (*p
));