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
Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr59990.c
blob
e54f9b7efb06a90b75bd06bbbd9a79b790359744
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
unsigned char
value
[
4
] = {
66
,
9
,
160
,
255
};
6
7
int
main
(
void
)
8
{
9
volatile
float
f
;
10
unsigned char
a
[
4
];
11
12
__builtin_memcpy
((
void
*)&
f
,
value
,
4
);
13
__builtin_memcpy
(
a
, (
void
*)&
f
,
4
);
14
if
(
a
[
2
] !=
160
)
15
abort
();
16
17
return
0
;
18
}