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
/
redundant-assign-zero-1.c
blob
eadf1814916c3a9c5c1d6e967449ccb4630c7dc9
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-tree-fre -fdump-tree-dse-details" } */
3
4
void
blah
(
char
*);
5
6
void
bar
()
7
{
8
char
a
[
256
] =
""
;
9
a
[
3
] =
0
;
10
blah
(
a
);
11
}
12
13
/* { dg-final { scan-tree-dump-times "Deleted redundant store" 1 "dse1"} } */