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
/
pr57214.c
blob
c697f84514ea95ec6dbf8434840788323c7f4e89
1
/* { dg-do compile } */
2
3
extern
int
baz
(
void
);
4
extern
int
foo
(
void
)
__attribute__
((
returns_twice
));
5
6
void
7
bar
(
_Bool b
)
8
{
9
int
buf
[
1
];
10
while
(
1
)
11
{
12
_Bool x
=
1
;
13
if
(
b
)
14
baz
();
15
b
=
1
;
16
baz
();
17
x
=
0
;
18
unsigned int
i
;
19
while
(
buf
[
i
] &&
i
)
20
i
++;
21
foo
();
22
if
(!
x
)
23
b
=
0
;
24
}
25
}