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
/
pr102546.c
blob
4bd98747732ffd7222bc2aa18d3dc7c18e983633
1
// { dg-do compile }
2
// { dg-options "-O3 -fdump-tree-optimized" }
3
4
static int
a
;
5
static char
b
,
c
,
d
;
6
void
bar
(
void
);
7
void
foo
(
void
);
8
9
int
main
() {
10
int
f
=
0
;
11
for
(;
f
<=
5
;
f
++) {
12
bar
();
13
b
=
b
&&
f
;
14
d
=
f
<<
f
;
15
if
(!(
a
>=
d
||
f
))
16
foo
();
17
c
=
1
;
18
for
(;
c
;
c
=
0
)
19
;
20
}
21
}
22
23
// { dg-final { scan-tree-dump-not "foo" "optimized" } }