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
x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20010119-1.c
blob
c2a691a39e729b92de292967d49dd78a386f6332
1
#ifdef __OPTIMIZE__
2
extern
void
undef
(
void
);
3
4
void
bar
(
unsigned
x
) { }
5
void
baz
(
unsigned
x
) { }
6
7
extern inline
void
foo
(
int
a
,
int
b
)
8
{
9
int
c
=
0
;
10
while
(
c
++ <
b
)
11
(
__builtin_constant_p
(
a
) ? ((
a
) >
20000
?
undef
() :
bar
(
a
)) :
baz
(
a
));
12
}
13
#else
14
void
foo
(
int
a
,
int
b
)
15
{
16
}
17
#endif
18
19
int
main
(
void
)
20
{
21
foo
(
10
,
100
);
22
exit
(
0
);
23
}