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
/
pr55124.c
blob
7ab172438a141539604e1b5c13ec68e1c6689a1d
1
/* { dg-do compile } */
2
3
int
a
,
b
;
4
long
c
;
5
void
foo
(
int
);
6
7
void
f2
(
void
)
8
{
9
unsigned long
k
=
1
;
10
11
foo
(
b
?
k
=
0
:
0
);
12
13
b
= ((
c
=
b
) ? (
k
? : (
c
=
0
)) :
a
) *
c
;
14
}
15
16
void
f1
(
void
)
17
{
18
f2
();
19
20
a
=
b
|
c
;
21
}