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-thread-20.c
blob
c6529659021c228d09002479ba025760521b3760
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-ethread-stats" } */
3
4
struct
S
{
int
base
; };
5
void
foo
(
struct
S
*
p
)
6
{
7
if
(
p
)
8
{
9
int
*
q
= &
p
->
base
;
10
if
(
q
)
11
__builtin_puts
(
"x"
);
12
}
13
}
14
15
/* { dg-final { scan-tree-dump "Jumps threaded: 1" "ethread" } } */