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-dse-31.c
blob
9ea9268fe1dd7dd0ac708a883257c734850d7a43
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-dse1-details" } */
3
4
void
g
();
5
void
f
(
int
n
,
char
*
p
)
6
{
7
*
p
=
0
;
8
if
(
n
)
9
{
10
*
p
=
1
;
11
g
();
12
}
13
*
p
=
2
;
14
}
15
16
/* { dg-final { scan-tree-dump-times "Deleted dead store" 1 "dse1" } } */