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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20020619-1.c
blob
6db1546e867c4d1b42675d1ad55c07d83592b383
1
static int
ref
(
void
)
2
{
3
union
{
4
char
c
[
5
];
5
int
i
;
6
}
u
;
7
8
__builtin_memset
(&
u
,
0
,
sizeof
(
u
));
9
u
.
c
[
0
] =
1
;
10
u
.
c
[
1
] =
2
;
11
u
.
c
[
2
] =
3
;
12
u
.
c
[
3
] =
4
;
13
14
return
u
.
i
;
15
}
16
17
int
main
()
18
{
19
int
b
=
ref
();
20
if
(
b
!=
0x01020304
21
&&
b
!=
0x04030201
)
22
abort
();
23
return
0
;
24
}