repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kernel.unreachable.ignore: add scoped_guard()
[smatch.git]
/
validation
/
memops
/
partial-load00.c
blob
cc6c313030532713ce24e72cd296b89837c05f22
1
union
u
{
2
double
d
;
3
int
i
[
2
];
4
};
5
6
void
use
(
union
u
);
7
8
int
foo
(
double
x
,
double
y
)
9
{
10
union
u u
;
11
int
r
;
12
13
u
.
d
=
x
;
14
r
=
u
.
i
[
0
];
15
u
.
d
=
y
;
16
17
use
(
u
);
18
return
r
;
19
}
20
21
/*
22
* check-name: partial-load00
23
* check-command: test-linearize -Wno-decl $file
24
*
25
* check-output-ignore
26
* check-output-contains: store\\.
27
* check-output-contains: load\\.
28
* check-output-returns: %r2
29
*/