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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44539.c
blob
9cfff7a3ae53af93e6e796e13c97c7ed1c506e02
1
/* PR tree-optimization/44539 */
2
/* { dg-do compile } */
3
/* { dg-options "-ftracer -freorder-blocks -O2" } */
4
5
void
bar
(
int
file
);
6
extern
int
baz
(
void
);
7
8
void
noret1
()
9
{
10
bar
(
0
);
11
__builtin_exit
(
0
);
12
}
13
14
void
noret2
()
15
{
16
__builtin_exit
(
0
);
17
}
18
19
void
bar
(
int
i
)
20
{
21
if
(
baz
())
22
noret1
(
i
);
23
}
24
25
void
foo
(
int
i
)
26
{
27
if
(~
i
)
bar
(
i
);
28
i
?
noret1
() :
noret2
();
29
}