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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
mpx
/
chkp-thunk-comdat-3.c
blob
dd0057e298195a953656794eacecfc6e62a486ec
1
/* { dg-do compile } */
2
/* { dg-options "-fcheck-pointer-bounds -mmpx -O -fvisibility=hidden" } */
3
4
int
val
;
5
6
static int
__attribute__
((
noinline
))
7
test1
()
8
{
9
return
val
;
10
}
11
12
static int
__attribute__
((
bnd_legacy
,
noinline
))
13
test2
()
14
{
15
return
test1
();
16
}
17
18
int
19
test3
(
void
)
20
{
21
return
test2
();
22
}
23