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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-dce-5.c
blob
eb1b9dfa7e3c986105c0d0c8a85fde5dfb28b7d8
1
/* { dg-do compile } */
2
/* { dg-options "-O -fno-tree-sra -fdump-tree-cddce1" } */
3
4
struct
X
{
int
i
; };
5
struct
X
foo
(
int
b
)
6
{
7
struct
X x
;
8
if
(
b
)
9
x
.
i
=
0
;
10
x
.
i
=
1
;
11
return
x
;
12
}
13
14
/* { dg-final { scan-tree-dump-times "x.i =" 1 "cddce1" } } */