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
PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040820-1.c
blob
366607c827ea632cdcc3bcc8eca08fa5652a9248
1
/* PR rtl-optimization/17099 */
2
3
extern
void
exit
(
int
);
4
extern
void
abort
(
void
);
5
6
void
7
check
(
int
a
)
8
{
9
if
(
a
!=
1
)
10
abort
();
11
}
12
13
void
14
test
(
int
a
,
int
b
)
15
{
16
check
((
a
?
1
:
0
) | (
b
?
2
:
0
));
17
}
18
19
int
20
main
(
void
)
21
{
22
test
(
1
,
0
);
23
exit
(
0
);
24
}