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
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr62554.c
blob
4d6501cba1fb5122cfa9e276766280414c338225
1
/* Check that pre ARMv4 compilation still works. */
2
/* { dg-do compile } */
3
/* { dg-options "-marm -march=armv3 -O" } */
4
/* { dg-require-effective-target arm_arm_ok } */
5
6
typedef
struct
7
{
8
char
bits
;
9
short
val
;
10
}
code
;
11
12
union
uu
13
{
14
short
us
;
15
char
b
[
2
];
16
};
17
18
int
a
,
b
,
c
,
f
,
g
,
h
;
19
code
*
d
;
20
21
code e
;
22
23
int
24
fn1
(
void
)
25
{
26
char
i
;
27
do
28
if
(
e
.
bits
)
29
{
30
dodist
:
31
f
=
c
;
32
if
(
e
.
bits
&
6
)
33
{
34
++
i
;
35
if
(
g
)
36
do
37
{
38
union
uu j
;
39
j
.
b
[
1
] =
a
;
40
h
=
j
.
us
;
41
}
42
while
(
fn1
);
43
}
44
else
45
{
46
e
=
d
[
b
];
47
goto
dodist
;
48
}
49
}
50
while
(
i
);
51
}