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
/
torture
/
pr106497.c
blob
601200de9e3257b1193f38ecce3f4883f8ac2129
1
/* { dg-do compile } */
2
/* { dg-additional-options "-fno-tree-dce" } */
3
4
int
n
;
5
6
__attribute__
((
pure
,
returns_twice
))
int
7
bar
(
void
);
8
9
int
10
foo
(
int
x
)
11
{
12
n
=
0
;
13
14
bar
();
15
16
if
(
x
&&
n
)
17
return
0
;
18
19
foo
(
x
);
20
}