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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-dse-44.c
blob
aaec41d7bdf39fc24a08ce556eb4102bae7156f5
1
/* { dg-do link } */
2
/* { dg-options "-O -fdump-tree-dse1-details" } */
3
4
extern
void
foo
(
void
);
5
int
a
,
b
;
6
static int
c
;
7
int
main
()
8
{
9
if
(
c
)
10
foo
();
11
int
*
g
= &
c
;
12
int
**
h
= &
g
;
13
int
***
h1
= &
h
;
14
if
(
a
)
15
while
(
b
)
16
b
=
0
;
17
}
18
19
/* { dg-final { scan-tree-dump "Deleted dead store: g = &c;" "dse1" } } */