repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB
[valgrind.git]
/
memcheck
/
tests
/
x86
/
fpeflags.c
blob
4bedcd5b42465cd9f1c78285c692e03b0a0d301b
1
#include <stdlib.h>
2
3
struct
instance
4
{
5
unsigned
myVal
:
1
;
6
};
7
8
static struct
instance
*
myInstance
;
9
10
int
main
(
int
argc
,
char
**
argv
)
11
{
12
float
g
=
1.0
f
;
13
14
myInstance
=
malloc
(
sizeof
(
struct
instance
));
15
16
myInstance
->
myVal
=
1
;
17
18
if
(
g
==
1.0
f
)
19
return
0
;
20
else
21
return
1
;
22
}