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-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
asan
/
no-instrument-writes.c
blob
c1500b9fb32181c4751ba26f5c449f6a312b96ae
1
/* { dg-do assemble } */
2
/* { dg-options "--param asan-instrument-writes=0 -save-temps" } */
3
4
volatile
int
ten
=
10
;
5
6
int
main
() {
7
volatile
char
x
[
10
];
8
x
[
ten
] =
1
;
9
return
0
;
10
}
11
12
/* { dg-final { scan-assembler-not "__asan_store" } } */
13
/* { dg-final { cleanup-saved-temps } } */