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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
asan
/
no-instrument-reads.c
blob
df75878de2f45d0522256e6219798613df4e6ec8
1
/* { dg-do assemble } */
2
/* { dg-options "--param asan-instrument-reads=0 -save-temps" } */
3
4
volatile
int
ten
=
10
;
5
6
int
main
() {
7
volatile
char
x
[
10
];
8
x
[
ten
];
9
return
0
;
10
}
11
12
/* { dg-final { scan-assembler-not "__asan_load" } } */
13
/* { dg-final { cleanup-saved-temps } } */