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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
chkp-always_inline.c
blob
c10d1310e0e4b937aa30663282b3d411c6147a61
1
/* { dg-do compile { target { ! x32 } } } */
2
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wno-attributes" } */
3
4
static
__attribute__
((
always_inline
))
int
f1
(
int
*
p
)
5
{
6
return
*
p
;
7
}
8
9
__attribute__
((
bnd_legacy
))
int
f2
(
int
*
p
)
10
{
11
return
f1
(
p
);
12
}