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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr97555.c
blob
625bc6fa14b3aa65d43c4b26edb83eebfcdae5fe
1
// { dg-do run }
2
// { dg-options "-Os" }
3
4
struct
{
5
int
a
:
1
;
6
}
b
;
7
8
int
c
,
d
,
e
,
f
=
1
,
g
;
9
10
int
main
()
11
{
12
for
(;
d
<
3
;
d
++) {
13
char
h
=
1
%
f
,
i
= ~(
0
|| ~
0
);
14
c
=
h
;
15
f
= ~
b
.
a
;
16
~
b
.
a
|
1
^ ~
i
&&
g
;
17
if
(~
e
)
18
i
=
b
.
a
;
19
b
.
a
=
i
;
20
}
21
return
0
;
22
}