1 /* PR c/78973 - warning: ‘memcpy’: specified size exceeds maximum object
2 size [-Wstringop-overflow=]
4 This is a companion test for the bug above that verifies that the correct
5 range of the int variable is detected.
8 { dg-require-effective-target int32plus }
9 { dg-options "-O2 -Walloc-size-larger-than=4" } */
16 p
= __builtin_malloc (n
);
17 /* { dg-warning "argument 1 range \\\[\[0-9\]+, \[0-9\]+\\\] exceeds maximum object size 4" "ilp32" { xfail { ! lp64 } } .-1 } */