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
/
torture
/
pr59139.c
blob
5b059566f88e5f01cbce0d0a9141677f0c9f8f91
1
/* { dg-do compile } */
2
3
int
a
,
b
,
c
,
d
,
e
;
4
int
fn1
(
int
p1
,
int
p2
) {
return
p2
==
0
?
p1
:
1
%
p2
; }
5
6
void
fn2
()
7
{
8
c
=
0
;
9
for
(;;
c
= (
unsigned short
)
c
)
10
{
11
b
=
2
;
12
for
(;
b
;
b
=
a
)
13
{
14
e
=
fn1
(
2
,
c
&&
1
);
15
d
=
c
==
0
?
e
:
c
;
16
if
(
d
)
17
return
;
18
}
19
}
20
}