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
/
pr90733.c
blob
7d2a7fb559ad9dc698f1731e12bddeb51bb2f925
1
/* PR debug/90733 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O2 -w" } */
4
5
struct
S
{
unsigned
a
:
1
; };
6
union
U
{
struct
S b
;
_Complex
unsigned
c
; };
7
8
union
U
9
foo
(
union
U d
)
10
{
11
union
U e
=
d
;
12
return
e
;
13
}
14
15
int
16
bar
(
void
)
17
{
18
union
U x
,
y
;
19
x
.
c
=
x
.
b
.
a
;
20
y
=
foo
(
x
);
21
return
x
.
c
!=
y
.
c
;
22
}