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
/
pr112767.c
blob
3f9bc061ee1ade57c078b3b5027b8c10ec3dc149
1
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
4
double
reg_dict
[
32
];
5
6
void
foo
(
int
);
7
8
void
initialize
()
9
{
10
int
i
=
8
;
11
for
(
int
phi
=
0
;
phi
<
8
; ++
phi
) {
12
reg_dict
[
i
]=
0
;
/* { dg-bogus "undefined behavior" } */
13
int
sn
=
0
;
14
if
(
i
<
16
)
sn
=
20
;
15
foo
(
sn
);
16
++
i
;
17
}
18
}