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
* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920908-2.c
blob
31c1ae0769c77b9605e67de4b63b43750e371214
1
/* The bit-field below would have a problem if __INT_MAX__ is too
2
small. */
3
#if __INT_MAX__ < 2147483647
4
int
5
main
(
void
)
6
{
7
exit
(
0
);
8
}
9
#else
10
/*
11
CONF:m68k-sun-sunos4.1.1
12
OPTIONS:-O
13
*/
14
struct
T
15
{
16
unsigned
i
:
8
;
17
unsigned
c
:
24
;
18
};
19
f
(
struct
T t
)
20
{
21
struct
T s
[
1
];
22
s
[
0
]=
t
;
23
return
(
char
)
s
->
c
;
24
}
25
main
()
26
{
27
struct
T t
;
28
t
.
i
=
0xff
;
29
t
.
c
=
0xffff11
;
30
if
(
f
(
t
)!=
0x11
)
abort
();
31
exit
(
0
);
32
}
33
#endif