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
/
pr112939.c
blob
7017beff30a2ece291ebc9530bea6675aa4b8db6
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftrivial-auto-var-init=zero" } */
3
4
int
i
;
5
6
void
f
(
void
)
7
{
8
for
(;;)
9
{
10
if
(
0
)
11
for
(;;)
12
{
13
int
*
a
;
14
int
*
b
=
a
;
15
16
l1
:
17
*
b
= (*
b
!=
0
) ?
0
:
2
;
18
}
19
20
if
(
i
!=
0
)
21
goto
l1
;
22
}
23
}