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
/
pr87415.c
blob
473384ac4795b30a536b3076816f1b283a51efce
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
struct
A
5
{
6
int
b
:
1
;
7
};
8
9
int
d
;
10
11
int
main
()
12
{
13
struct
A e
= {
0
};
14
if
(!
d
)
15
e
.
b
= -
1
;
16
if
(!
e
.
b
)
17
__builtin_abort
();
18
19
return
0
;
20
}