repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
mpx
/
builtin-bnd-get-ptr-lbound-2.c
blob
70b49e312b6aae3fad8fc800de7e3ecc3f0c3ad4
1
/* { dg-do run } */
2
/* { dg-options "-fno-check-pointer-bounds" } */
3
4
5
#include
"mpx-check.h"
6
7
char
buf
[
100
];
8
9
int
mpx_test
(
int
argc
,
const char
**
argv
)
10
{
11
assert
((
void
*)
0
==
__bnd_get_ptr_lbound
(
buf
));
12
return
0
;
13
}