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
PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56144.c
blob
4b98225900fede9a9ef009f70c6ea93ef0fca424
1
/* PR rtl-optimization/56144 */
2
/* { dg-do compile } */
3
/* { dg-options "-O" } */
4
5
int
a
;
6
union
U0
{
volatile
unsigned
f2
,
f4
; };
7
volatile
int
b
;
8
static union
U0 c
;
9
volatile
unsigned
d
,
f
;
10
volatile
int
e
,
g
,
h
,
i
,
j
,
k
,
l
,
m
,
n
,
o
,
p
;
11
int
12
main
()
13
{
14
a
=
b
;
15
a
+=
c
.
f2
;
16
a
+=
c
.
f4
;
17
unsigned
q
=
h
;
18
a
+=
q
;
19
q
=
g
;
20
a
+=
q
;
21
a
+=
f
;
22
q
=
e
;
23
a
+=
q
;
24
a
+=
d
;
25
a
+=
2L
;
26
a
+=
j
;
27
a
+=
i
;
28
a
+=
k
;
29
a
+=
p
;
30
a
+=
o
;
31
a
+=
n
;
32
a
+=
m
;
33
a
+=
l
;
34
return
0
;
35
}