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
/
chkp-remove-bndint-1.c
blob
7c0f13f8ccf8e41fd9fc8f866cc60c2f6d65cb38
1
/* { dg-do compile { target { ! x32 } } } */
2
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized" } */
3
/* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
4
5
struct
S
6
{
7
int
a
;
8
int
b
;
9
int
c
;
10
};
11
12
int
test
(
struct
S
*
ps
)
13
{
14
int
*
pi
= &
ps
->
b
;
15
return
*
pi
;
16
}