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
/
tree-ssa
/
ssa-dse-11.c
blob
744a8cf6249ff5c538a3895228890cd839feebd5
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-dse1-details" } */
3
4
extern
void
abort
(
void
);
5
void
foo
(
int
*
p
)
6
{
7
while
(
1
)
8
{
9
*
p
=
1
;
10
*
p
=
0
;
11
}
12
}
13
void
bar
(
int
*
p
)
14
{
15
*
p
=
1
;
16
*
p
=
0
;
17
abort
();
18
}
19
20
/* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1" } } */