1 /* { dg-do compile { target { ! x32 } } } */ 2 /* { dg-options "-O -fcheck-pointer-bounds -fchkp-use-nochk-string-functions -mmpx" } */ 3 4 extern void bar(void *); 5 extern void baz(void); 6 7 static int lc[32]; 8 foobar(void * c)9void foobar(void *c) 10 { 11 bar(&c); 12 __builtin_memcpy (lc, c, lc[0]); 13 } 14 foo()15void foo () 16 { 17 baz (); 18 foobar(0); 19 } 20