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
* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
asan
/
pr63845.c
blob
a3fbe064dc22940f272795d73858179a55f2901a
1
/* PR sanitizer/63845 */
2
/* { dg-do compile } */
3
/* { dg-options "-fPIC" { target fpic } } */
4
5
int
__attribute__
((
noinline
,
noclone
))
6
foo
(
void
*
p
)
7
{
8
return
*(
int
*)
p
;
9
}
10
11
int
main
()
12
{
13
char
a
=
0
;
14
foo
(&
a
);
15
return
0
;
16
}
17