repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Teach mergefunc that intptr_t is the same width as a pointer. We still can't
[llvm.git]
/
test
/
FrontendC
/
2007-04-24-VolatileStructCopy.c
blob
d49e75e0254101c4a84ee93aa0d0ecba88639123
1
// RUN: %llvmgcc -O3 -S -o - %s | grep {volatile store}
2
// PR1352
3
4
struct
foo
{
5
int
x
;
6
};
7
8
void
copy
(
volatile
struct
foo
*
p
,
struct
foo
*
q
) {
9
*
p
= *
q
;
10
}