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
/
tree-ssa
/
pr111583-2.c
blob
68d28116229dc30a2cd0e9b459c2c5e0561d9a38
1
/* { dg-do run } */
2
/* { dg-options "-Os" } */
3
4
int
b
,
c
,
d
;
5
char
e
;
6
short
f
;
7
const unsigned short
**
g
;
8
char
h
(
char
k
) {
9
if
(
k
)
10
return
'0'
;
11
return
0
;
12
}
13
int
l
() {
14
b
=
0
;
15
return
1
;
16
}
17
static short
m
(
unsigned
k
) {
18
const unsigned short
*
n
[
65
];
19
g
= &
n
[
4
];
20
k
||
l
();
21
__INTPTR_TYPE__ a
=
k
;
22
char
i
=
0
;
23
unsigned long
j
=
k
;
24
while
(
j
--)
25
*(
char
*)
a
++ =
i
;
26
c
=
h
(
d
);
27
f
=
k
;
28
return
0
;
29
}
30
int
main
() {
31
long
o
= (
e
<
0
) <<
5
;
32
m
(
o
);
33
if
(
f
!=
0
)
34
__builtin_abort
();
35
return
0
;
36
}