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
/
auto-init-unused-1.c
blob
b7d44e6b4f2a84581760120600ee45f38c326fa2
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftrivial-auto-var-init=zero -fdump-tree-ssa" } */
3
4
int
a
;
5
int
foo
(
void
);
6
int
bar
(
void
);
7
8
void
9
baz
(
void
)
10
{
11
int
*
b
[
6
];
12
if
(
foo
())
13
a
|=
bar
();
14
}
15
16
/* { dg-final { scan-tree-dump-not "DEFERRED_INIT" "ssa" } } */