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
/
ipa
/
pr63551.c
blob
225e323f2c614522d23669ecada4d96cad992f28
1
/* { dg-do run } */
2
/* { dg-options "-Os" } */
3
/* { dg-require-effective-target int32plus } */
4
5
union
U
6
{
7
unsigned int
f0
;
8
int
f1
;
9
};
10
11
int
a
,
d
;
12
13
void
14
fn1
(
union
U p
)
15
{
16
if
(
p
.
f1
<=
0
)
17
if
(
a
)
18
d
=
0
;
19
}
20
21
void
22
fn2
()
23
{
24
d
=
0
;
25
union
U b
= {
4294967286U
};
26
fn1
(
b
);
27
}
28
29
int
30
main
()
31
{
32
fn2
();
33
return
0
;
34
}