blob: bf26874e5a86b83e6f581720253932faeb4d8cab (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile { target { ! x32 } } } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
/* { dg-final { scan-tree-dump-not "memcpy_nobnd" "chkpopt" } } */
#include "../../gcc.dg/strlenopt.h"
void test (void *buf1, void *buf2, size_t len)
{
memcpy (buf1, buf2, len);
}
|