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
/
pr103596.c
blob
4f65c36d121470482d3a3ada11d607cada3b5b73
1
/* { dg-do compile } */
2
/* { dg-additional-options "--param case-values-threshold=1" } */
3
4
int
n
;
5
6
void
7
qux
(
int
a
)
8
{
9
}
10
11
int
12
baz
(
void
)
13
{
14
return
-
1
;
15
}
16
17
__attribute__
((
returns_twice
))
int
18
bar
(
int
b
)
19
{
20
if
(
n
!=
0
)
21
{
22
if
(
b
!=
2
)
23
if
(
b
!=
0
)
24
return
n
+
b
;
25
26
if
(
n
==
2
)
27
return
0
;
28
}
29
}
30
31
void
32
foo
(
void
)
33
{
34
qux
(
n
);
35
bar
(
baz
());
36
}