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
/
ssa-dom-thread-1.c
blob
5b2ac53731cbabf665732f064376e76453e91bf5
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-tree-vrp -fdisable-tree-threadfull1 -fdump-tree-dom2-details" } */
3
void
t
(
void
);
4
void
q
(
void
);
5
void
q1
(
void
);
6
void
7
threading
(
int
a
,
int
b
)
8
{
9
if
(
a
>
b
)
10
t
();
11
else
12
q
();
13
if
(
a
<=
b
)
14
q1
();
15
}
16
/* We should thread the jump twice and elliminate it. */
17
/* { dg-final { scan-tree-dump-times "Threaded" 2 "dom2"} } */