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
Zen5 tuning part 4: update reassocation width
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
960608-1.c
blob
e20801d51a00c16a4c116eccd3fa7ec1cb0e3623
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
typedef
struct
5
{
6
unsigned char
a
:
2
;
7
unsigned char
b
:
3
;
8
unsigned char
c
:
1
;
9
unsigned char
d
:
1
;
10
unsigned char
e
:
1
;
11
}
a_struct
;
12
13
int
14
foo
(
flags
)
15
a_struct
*
flags
;
16
{
17
return
(
flags
->
c
!=
0
18
||
flags
->
d
!=
1
19
||
flags
->
e
!=
1
20
||
flags
->
a
!=
2
21
||
flags
->
b
!=
3
);
22
}
23
24
int
25
main
(
void
)
26
{
27
a_struct flags
;
28
29
flags
.
c
=
0
;
30
flags
.
d
=
1
;
31
flags
.
e
=
1
;
32
flags
.
a
=
2
;
33
flags
.
b
=
3
;
34
35
if
(
foo
(&
flags
) !=
0
)
36
abort
();
37
else
38
exit
(
0
);
39
}